Repository navigation
Run CI on Node 24 - #88
Merged
Merged
Conversation
`npm install -g npm@latest` now resolves to npm@12, which requires node ^22.22.2 || ^24.15.0 || >=26.0.0, so the v2.7.0 release aborted on Node 20 before reaching build or publish. The step can't just be dropped: OIDC trusted publishing needs npm >= 11.5.1 and Node 20 ships 10.8.2. Node 20 also went EOL on 2026-04-30. Node 24 is LTS until 2028-04-30. Verified locally on 24.20.0: npm@latest installs (12.0.2), yarn install, yarn build and 380 tests all pass. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014JJ2weaFu4jhu2XirMkbWe
Node 20 went EOL on 2026-04-30. unit-test.yml wasn't broken by the npm@12 engine bump the way release.yml was, but there's no reason to keep testing on an unsupported runtime once the release job has moved. .nvmrc aligns local dev with CI. Bare major so nvm tracks the latest 24.x, matching `node-version: 24`. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014JJ2weaFu4jhu2XirMkbWe
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.
What
.nvmrc.Why
npm install -g npm@latestnow resolves to npm@12, which requires node^22.22.2 || ^24.15.0 || >=26.0.0. The step can't be dropped, since OIDC trusted publishing needs npm >= 11.5.1 and Node 20 ships 10.8.2.