Repository navigation
chore: update Node to 24 and GitHub Actions to v7 - #469
Merged
Merged
Conversation
- Update `.nvmrc`, `engines.node` and the CI workflow to Node 24 - Update `engines.npm` to `>=11.0.0` - Update `@types/node` from `^20.19.43` to `^24.19.2` - Run the TypeScript scripts with Node's built-in type stripping instead of registering `ts-node/esm` through `register.js` - Remove `register.js`, the `ts-node` dev dependency and its `tsconfig.json` config block Signed-off-by: penge <ppenge@gmail.com>
- Update `actions/checkout` from `v4` to `v7` - Update `actions/setup-node` from `v4` to `v7` - Read the Node version from `.nvmrc` in CI - Cache npm dependencies in CI Signed-off-by: penge <ppenge@gmail.com>
Remove `cache: npm` from the `setup-node` step. With `npm ci` taking about 5 seconds, a restored cache saves about 2 seconds, while a run without one, the first of every PR, is slower by about as much. Signed-off-by: penge <ppenge@gmail.com>
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.
Node 20 reached end of life in April 2026. Node 24 runs the TypeScript scripts (
build.ts,watch.ts,env/set-client-id.ts,scripts/set-version.ts) andjest.config.tsdirectly with its built-in type stripping, sots-nodeandregister.jsare no longer needed.Changes
.nvmrcandengines.nodeto Node 24engines.npmto>=11.0.0@types/nodefrom^20.19.43to^24.19.2node ./<script>.tsinstead ofnode --import ./register.js ./<script>.tsregister.js, thets-nodedev dependency and itstsconfig.jsonconfig blockactions/checkoutfromv4tov7actions/setup-nodefromv4tov7.nvmrcin CI