Skip to content

chore: bump Node to 24 LTS, unify CI on .nvmrc - #357

Open
mfazekas wants to merge 1 commit into
mainfrom
chore/bump-node-24
Open

chore: bump Node to 24 LTS, unify CI on .nvmrc#357
mfazekas wants to merge 1 commit into
mainfrom
chore/bump-node-24

Conversation

@mfazekas

Copy link
Copy Markdown
Collaborator

Node 20 has been EOL since April 2026, and .nvmrc (20.19.0) was already too old for react-native 0.86 — six CI jobs worked around it with their own node-version: 22 pins. This bumps .nvmrc to v24.18.0 (active LTS, maintained to April 2028) and points those jobs back at node-version-file: .nvmrc, restoring a single source of truth.

Verified locally under Node 24 LTS: yarn install, typecheck, lint, full jest suite, and (on the #352 branch) the schema generator scripts run natively including WASM extraction, with byte-identical output. Follow-up to the Bun discussion in #352 — with Node 24, TypeScript scripts run directly via node, so Bun becomes a dev convenience rather than a requirement.

Node 20 has been EOL since April 2026, and .nvmrc (20.19.0) was already too
old for react-native 0.86 — six CI jobs worked around it with their own
node-version: 22 pins. Bump .nvmrc to v24.18.0 (active LTS) and point those
jobs back at .nvmrc so there is a single source of truth again.

Verified under Node 24: yarn install, typecheck, lint, and the full jest
suite. Also unblocks running TypeScript scripts directly with node (>=22.18
strips types by default), reducing the need for alternate runtimes.
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