GeezerVison is showing github.com — feat: allow selecting Node.js for npm releases by elrrrrrrr · Pull Request #34 · node-modules/github-actions
Conversation
elrrrrrrr
commented
Jul 13, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
- add a
node-version input to the reusable npm release workflow
- preserve
lts/* as the default for existing callers
- allow maintenance branches to pin a compatible Node.js major
This will let cnpmcore 3.x publish with Node.js 20 while leaving other callers unchanged.
Summary by CodeRabbit
- Chores
- Added support for selecting the Node.js version used during package release workflows.
- Defaults to the current long-term support version when no version is specified.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
gemini-code-assist[bot] reacted with eyes emoji
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Jul 13, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 38db1c1d-d771-40f9-b591-e48ecbe96cbe
📥 Commits
Reviewing files that changed from the base of the PR and between c0c86f6 and 10a7f98.
📒 Files selected for processing (1)
.github/workflows/npm-release.yml
📝 Walkthrough
Walkthrough
The reusable npm release workflow adds a node-version input defaulting to lts/* and uses that input when configuring the Node.js setup action.
Changes
npm release workflow
| Layer / File(s) |
Summary |
Node.js version input and setup .github/workflows/npm-release.yml |
Adds a string node-version workflow input with an lts/* default and passes it to actions/setup-node. |
Estimated code review effort: 1 (Trivial) | ~2 minutes
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name |
Status |
Explanation |
| Description Check |
✅ Passed |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
✅ Passed |
The title clearly summarizes the main change: making the npm release workflow's Node.js version configurable. |
| Docstring Coverage |
✅ Passed |
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check |
✅ Passed |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
✅ Passed |
Check skipped because no linked issues were found for this pull request. |
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.