Skip to content

chore: move dev toolchain and CI to Node 24 - #733

Merged
gre merged 1 commit into
masterfrom
chore/node-24
Oct 24, 2026
Merged

gre merged 1 commit into
masterfrom
chore/node-24

Conversation

@gre

@gre gre commented Oct 24, 2026

Copy link
Copy Markdown
Owner

Summary

Node 20 is EOL (April 2026). This moves the dev toolchain and CI to Node 24 LTS.

  • .prototools: node = "24" (npm stays on latest, i.e. v12, which requires ^24.15.0; with Node 20 it was refusing to run).
  • .prototools: detect-strategy = "only-prototools", otherwise proto honours the example apps' engines: ">=20" and resolves the highest installed Node (25.x) in example/, example-web/, etc.
  • CI: every node-version (ci.yml, build-apk.yml, rn-compat.yml) set to '24'.

Not changed: the library's published engines.node (>=20.19.4); consumers on Node 20 are unaffected.

Local verification (Node 24.22.1 / npm 12.2.1)

  • root: npm ci, type-check, lint:ci, format:check, build, test (48/48) ✅
  • example-web: npm ci + npm run build ✅
  • example: npm ci + tsc --noEmit ✅

🤖 Generated with Claude Code

Node 20 is EOL (April 2026). Bump the proto toolchain and every CI job
to Node 24 (LTS). npm "latest" (v12) requires ^24.15.0, so it is
coherent again with the pinned Node.

Also set proto's detect-strategy to only-prototools so the example
apps' `engines: ">=20"` no longer make proto pick the highest installed
Node (e.g. 25.x) in subdirectories.

The library's published `engines` (>=20.19.4) is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gre
gre marked this pull request as ready for review October 24, 2026 12:55
Copilot AI balanced review requested due to automatic review settings October 24, 2026 12:55
@gre
gre merged commit 7c3d467 into master Oct 24, 2026
22 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

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.

2 participants