chore: upgrade Node.js 18 (EOL) → 24 LTS#651
Merged
Merged
Conversation
Node 18 reached end-of-life in April 2025. Bump .node-version, engines, GitHub Actions, CircleCI, and the CI Docker image to Node 24 (LTS, supported through ~April 2028). Aligns i18n-drift workflow (was on 20) with the rest. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Android/iOS native builds and the Metro bundler successfully validated locally. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Node 18 reached end-of-life in April 2025. This bumps the project to Node 24 (LTS), supported through ~April 2028.
Changes (7 files)
.node-version:18→24package.json:engines.node>=18→>=24(no@types/nodeentry present).github/workflows/test.yml:node-version 18→24,setup-node@v3→@v4.github/workflows/check-code.yml:node-version 18→24,setup-node@v3→@v4.github/workflows/i18n-drift.yml:node-version 20→24(was a stray partial upgrade — now aligned).circleci/config.yml: all 3nodesource setup_18.x→setup_24.xci/image/Dockerfile:node:18-alpine→node:24-alpineValidation
Validated locally under Node v24.18.0 (nvm) with Yarn 1.22.22:
yarn install— passed, no native-module / node-gyp failures.yarn.lockunchanged.engines: >=24enforcement confirmed (yarn refuses to run under Node 20).yarn tsc:checkfails with a pre-existingTS5095tsconfig conflict (module: Node16vs inheritedmoduleResolution: bundler) — reproduced identically on Node 20, not a regression from this PR, and untouched here. Should be fixed separately.Android/iOS native builds and the Metro bundler were not validated locally (out of scope). Please confirm green native builds in CI before merge.
🤖 Generated with Claude Code