forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 1.07 KB
/
turbo-daily-integration-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# A workflow to run next.js integration test with turbopack for each day.
# This runs against main branch with latest Next.js release.
name: Daily Next.js integration test with turbopack
on:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:
inputs:
version:
description: Next.js version, sha, branch to test
type: string
default: 'canary'
jobs:
# Trigger actual next.js integration tests.
next_js_integration:
name: Execute Next.js integration workflow
if: github.repository_owner == 'vercel'
permissions:
pull-requests: write
uses: ./.github/workflows/nextjs-integration-test.yml
secrets: inherit
with:
diff_base: 'none'
version: ${{ inputs.version || 'canary' }}
# Upload test results to KV, but only for scheduled runs.
upload_test_results:
name: Upload test results
needs: [next_js_integration]
if: github.repository_owner == 'vercel' && ${{ github.event_name == 'schedule' }} && always()
uses: ./.github/workflows/upload-nextjs-integration-test-results.yml
secrets: inherit