Skip to content

Commit

Permalink
Merge branch 'canary' into upgrade-example
Browse files Browse the repository at this point in the history
  • Loading branch information
samcx committed Mar 18, 2024
2 parents 642357e + e12535c commit 93e24f9
Show file tree
Hide file tree
Showing 111 changed files with 3,830 additions and 838 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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
name: Daily Next.js integration test with Turbopack

on:
schedule:
Expand All @@ -26,10 +26,8 @@ jobs:
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()
if: always()
uses: ./.github/workflows/upload-nextjs-integration-test-results.yml
upload_turbopack_tests_manifest:
name: Upload Turbopack tests manifest to areweturboyet.com
if: ${{ !cancelled() }}
uses: ./.github/workflows/turbopack-upload-tests-manifest.yml
secrets: inherit
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,7 @@
#
# Refer test.yml for how this workflow is being initialized
# - Workflow can specify `inputs.version` to specify which version of next.js to use, otherwise will use latest release version.
name: Turbopack Next.js integration test

on:
workflow_call:
inputs:
# Allow to specify Next.js version to run integration test against.
# If not specified, will use latest release version including canary.
version:
type: string
# The base of the test results to compare against. If not specified, will try to compare with latest main branch's test results.
diff_base:
type: string
default: 'main'
name: Turbopack Next.js integration tests

# Workflow-common env variables
env:
Expand Down Expand Up @@ -180,7 +168,7 @@ jobs:
- 'x64'
- 'metal'

if: always()
if: ${{ !cancelled() }}
steps:
- name: Download test report artifacts
id: download-test-reports
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Update Turbopack test manifest
on:
schedule:
# Every day at 9AM https://crontab.guru/#0_9_*_*_*
- cron: '0 9 * * *'
- cron: '0 7 * * *'
workflow_dispatch:

jobs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Reusable workflow to upload next.js integration test results to KV for https://areweturboyet.com/
# This workflow assumes the `next-integration-test` workflow has been executed
# and test reports have been uploaded to the `test-results` artifact.
name: Update next.js integration test results
name: Upload Turbopack tests manifest to areweturboyet.com

on:
workflow_call:
Expand Down
Loading

0 comments on commit 93e24f9

Please sign in to comment.