-
Notifications
You must be signed in to change notification settings - Fork 2.1k
ci: upgrade to Node.js 22 #10374
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
ci: upgrade to Node.js 22 #10374
Changes from all commits
cd42917
d26976a
7f7f172
66b6f52
b786fb9
9f4c5de
9440844
a07cb9b
ca58844
8a32de5
37f5aa0
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 |
|---|---|---|
|
|
@@ -16,7 +16,6 @@ inputs: | |
| node-version: | ||
| description: "Node version to install" | ||
| required: false | ||
| default: "18" | ||
|
|
||
| runs: | ||
| using: "composite" | ||
|
|
@@ -27,6 +26,8 @@ runs: | |
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| # node-version-file is the default, but can be overridden using node-version | ||
| node-version-file: "package.json" | ||
|
Contributor
Author
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. This sets the default for our CI by reading |
||
| node-version: ${{ inputs.node-version }} | ||
| cache: pnpm | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,6 @@ inputs: | |
| node-version: | ||
| description: Node version | ||
| required: false | ||
| default: "18" | ||
|
Contributor
Author
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. |
||
|
|
||
| runs: | ||
| using: "composite" | ||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,6 +42,6 @@ | |
| }, | ||
| "packageManager": "pnpm@8.14.0", | ||
| "engines": { | ||
| "node": "20.x" | ||
| "node": "22.x" | ||
|
Contributor
Author
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. I'm upgrading the
Contributor
Author
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. As it turns out, we should definitely be doing this. This is now our source of truth. |
||
| } | ||
| } | ||
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.
A default is no longer needed because we're defaulting to
package.json#engines.