-
Notifications
You must be signed in to change notification settings - Fork 7
Tighten engines and devEngines
#682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2,21 +2,49 @@ name: Build | |||||
|
|
||||||
| on: [ pull_request ] | ||||||
|
|
||||||
| env: | ||||||
| NODE_ACTIVE_LTS_VERSION: 24 | ||||||
| NODE_PREVIOUS_LTS_VERSION: 22 | ||||||
| NPM_VERSION: 11 | ||||||
|
||||||
| NPM_VERSION: 11 | |
| NPM_VERSION: ^11.6.1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,16 +29,17 @@ | |
| "url": "https://github.com/react-ui-org/react-ui" | ||
| }, | ||
| "engines": { | ||
| "node": ">=22" | ||
| "node": ">=22.11.0" | ||
| }, | ||
| "devEngines": { | ||
| "runtime": { | ||
| "name": "node", | ||
| "version": "22.x || 24.x", | ||
| "version": "^22.11.0 || ^24.11.0", | ||
|
Comment on lines
+32
to
+37
|
||
| "onFail": "error" | ||
| }, | ||
| "packageManager": { | ||
| "name": "npm", | ||
| "version": "^11.6.1", | ||
| "onFail": "error" | ||
| } | ||
| }, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NODE_ACTIVE_LTS_VERSION and NODE_PREVIOUS_LTS_VERSION are set to major versions only (24 and 22), but package.json devEngines requires specific minor versions (^22.11.0 || ^24.11.0). When these values are passed to setup-node, they may install versions like 22.9.0 or 24.0.0 if those are the latest available on the runner. Consider setting these to 22.11 and 24.11 to match the devEngines requirements.