-
Notifications
You must be signed in to change notification settings - Fork 99
chore: switch to node 22, npm 10 #1144
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
Conversation
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.
Pull Request Overview
This PR updates the Explorer configuration to use Node v22 and npm v10 to keep up with security support and improvements. The key changes include:
- Updating Node version references in CI workflows to 22.x.
- Modifying README.md to reflect changes in the required Node version.
- Adjusting caching keys and setup steps in GitHub Actions to use the new Node version.
Reviewed Changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
README.md | Updated Node version requirement (currently shows v20 instead of v22) |
.github/workflows/nodejs.yml | Replaced Node version references with an environment variable set to 22.x and updated caching keys accordingly |
Files not reviewed (2)
- .nvmrc: Language not supported
- package.json: Language not supported
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.
lgtm
High Level Overview of Change
This PR updates the Explorer to use Node v22 and npm v10 (it currently uses Node v18 and npm v9).
Context of Change
Node 18 security support ends in a month.
Type of Change
TypeScript/Hooks Update
N/A
Test Plan
CI passes.
Note: technically this PR doesn't pass the required tests, but those tests should be changed to match these once this PR gets approval.
Future Tasks
Update the deploy scripts accordingly.