Skip to content

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

Merged
merged 12 commits into from
Apr 9, 2025
Merged

chore: switch to node 22, npm 10 #1144

merged 12 commits into from
Apr 9, 2025

Conversation

mvadari
Copy link
Collaborator

@mvadari mvadari commented Mar 27, 2025

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

  • Refactor (non-breaking change that only restructures code)

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.

@mvadari mvadari changed the title chore: switch to node 20, npm 9 chore: switch to node 20, npm 10 Mar 27, 2025
@mvadari mvadari changed the title chore: switch to node 20, npm 10 chore: switch to node 22, npm 10 Mar 27, 2025
@mvadari mvadari marked this pull request as ready for review March 27, 2025 19:03
Copy link

@Copilot Copilot AI left a 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

Copy link
Collaborator

@achowdhry-ripple achowdhry-ripple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@pdp2121 pdp2121 merged commit 7459992 into staging Apr 9, 2025
4 checks passed
@pdp2121 pdp2121 deleted the node-20 branch April 9, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants