-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(test): run all tests against node@21
#57057
base: canary
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
env: | ||
NAPI_CLI_VERSION: 2.16.2 | ||
TURBO_VERSION: 1.10.9 | ||
NODE_LTS_VERSION: 20 | ||
NODE_LTS_VERSION: 21 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: 21 is not the LTS version, should we rename the variable to avoid ambiguity? |
||
CARGO_PROFILE_RELEASE_LTO: 'true' | ||
TURBO_TEAM: 'vercel' | ||
TURBO_REMOTE_ONLY: 'true' | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -9,7 +9,7 @@ on: | |||||
env: | ||||||
NAPI_CLI_VERSION: 2.14.7 | ||||||
TURBO_VERSION: 1.10.9 | ||||||
NODE_LTS_VERSION: 20 | ||||||
NODE_LTS_VERSION: 21 | ||||||
TEST_CONCURRENCY: 8 | ||||||
# disable backtrace for test snapshots | ||||||
RUST_BACKTRACE: 0 | ||||||
|
@@ -146,7 +146,7 @@ jobs: | |||||
group: [1, 2, 3, 4, 5] | ||||||
uses: ./.github/workflows/build_reusable.yml | ||||||
with: | ||||||
nodeVersion: 18.17.0 | ||||||
nodeVersion: 21 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
skipForDocsOnly: 'yes' | ||||||
afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-tests-manifest.json" TURBOPACK=1 node run-tests.js --timings -g ${{ matrix.group }}/5 -c ${TEST_CONCURRENCY} --type integration | ||||||
secrets: inherit | ||||||
|
@@ -211,7 +211,7 @@ jobs: | |||||
|
||||||
uses: ./.github/workflows/build_reusable.yml | ||||||
with: | ||||||
nodeVersion: 18.17.0 | ||||||
nodeVersion: 21 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
skipForDocsOnly: 'yes' | ||||||
afterBuild: node run-tests.js --timings -g ${{ matrix.group }}/12 -c ${TEST_CONCURRENCY} --type integration | ||||||
secrets: inherit | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
workflow_dispatch: | ||
|
||
env: | ||
NODE_LTS_VERSION: 20 | ||
NODE_LTS_VERSION: 21 | ||
|
||
jobs: | ||
create-pull-request: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could make this come from an env variable so it always installs the same version as defined in the workflow with
NODE_LTS_VERSION
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might be risky if we're using apis that available in new nodejs version but not supported in 18. we had similar problem before that we were using api that not supported in 16 but available in 17 or 18