enforce node version (>=22) - for main#1250
Merged
ksen0 merged 3 commits intoprocessing:mainfrom Mar 18, 2026
Merged
Conversation
ci: have github test.yml actions to use node v22 ci: deploy: tell astro build to use node version 22 package+npmrc: enforce node version >= 22 Stipulate node v22 in setup in technical_overview
31e0aa6 to
a7dd810
Compare
Contributor
Author
|
CI tested ok, including build-deploy to github-pages. |
Contributor
Author
|
(I'm happy for this to be merged) |
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.
Addresses #1233 for main branch
changes
package.jsonand.npmrcnow stipulate and enforce a node.js version >= 22(Trying to run npm install or npm ci will fail on older versions of node.)
Why?
The codebase now includes code that won't run on earlier node versions, and support for node v20 ends in April 2026.
https://nodejs.org/en/about/previous-releases
Read more in #1233
what about 2.0 branch?
For 2.0 branch this work was covered in two PRs: #1234 and #1241