Repository navigation
chore(deps): update dependency node to v24 #28
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
base: main
Are you sure you want to change the base?
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 |
|---|---|---|
|
|
@@ -62,7 +62,7 @@ jobs: | |
| - name: Set up Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "22" | ||
| node-version: "24" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Blocking: Using Node.js 24 (Current, not LTS) for production builds is risky. Why it matters: According to the Node.js release schedule, Node 24 won't enter LTS until October 2025. Production applications should use LTS releases for stability. The published npm package will be built with a non-LTS runtime, which could introduce unexpected behavior or incompatibilities. Node 22 is currently Active LTS and more appropriate for production builds. Suggested fix: Change to Node 22 (LTS): node-version: "22"Alternatively, if Node 24 is intentional, add a comment explaining the rationale. |
||
| registry-url: "https://registry.npmjs.org" | ||
|
|
||
| # npm trusted publishing (OIDC) needs npm >= 11.5.1; Node 22 ships npm 10. | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
Non-blocking: Consider adding a test matrix instead of only testing on Node 24.
Why it matters: The
package.jsondeclares support fornode >= 18, but CI only validates against Node 24. This means compatibility with Node 18, 20, and 22 is unverified, which could lead to issues for users on LTS versions.Suggested fix: Add a strategy matrix:
Or at minimum test on both the oldest supported (18) and latest LTS (22).