Skip to content

Bump Node.js from 20.20.0 (EOL) to 22.22.3 (Active LTS)#92137

Draft
mountiny wants to merge 1 commit into
mainfrom
fix/bump-node-to-22-lts
Draft

Bump Node.js from 20.20.0 (EOL) to 22.22.3 (Active LTS)#92137
mountiny wants to merge 1 commit into
mainfrom
fix/bump-node-to-22-lts

Conversation

@mountiny
Copy link
Copy Markdown
Contributor

Why

Node 20 reached end-of-life on April 30, 2026 and no longer receives security patches. We're currently running on an unsupported runtime in CI and in local development.

Node 22 (codename Jod) is the current Active LTS release, supported until April 2027. It's the conservative choice — Node 24 is newer and riskier for a large codebase.

What changed

  • .nvmrc: 20.20.022.22.3
  • package.json engines.node: 20.20.022.22.3

The setupNode composite action reads .nvmrc via node-version-file, so this single change propagates to every workflow automatically.

Test plan

  • CI passes (lint, typecheck, tests) — the main signal that nothing in the toolchain regressed on Node 22
  • Local: nvm install && nvm use && node --version shows v22.22.3
  • No new engine warnings from npm install

No changes to application code. .nvmrc and package.json engines only.

Made with Cursor

Node 20 reached end-of-life on April 30, 2026 and no longer receives
security patches. Node 22 (codename Jod) is Active LTS until April 2027.

Updates .nvmrc and package.json engines, which are the single source of
truth fed to every workflow via the setupNode composite action.

Co-authored-by: Cursor <cursoragent@cursor.com>
@melvin-bot
Copy link
Copy Markdown

melvin-bot Bot commented May 30, 2026

npm has a package.json file and a package-lock.json file. It seems you updated one without the other, which is usually a sign of a mistake. If you are updating a package make sure that you update the version in package.json then run npm install

@sentry
Copy link
Copy Markdown

sentry Bot commented May 30, 2026

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
Expensify org.me.mobiexpensifyg 9.3.89-4 (509038904) Release

⚙️ app Build Distribution Settings

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.

1 participant