Fix publish of CLI through npm#9573
Merged
tobias-tengler merged 1 commit intomainfrom Apr 17, 2026
Merged
Conversation
0d5d218 to
b16a859
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Nitro CLI npm packaging docs and adjusts the release workflow steps used to publish the CLI and its platform-specific binary packages to npm.
Changes:
- Expanded
@chillicream/nitroREADME with usage examples and links to the official GitHub Actions. - Added minimal READMEs to each platform-specific
@chillicream/nitro-<rid>npm package directory. - Simplified the release workflow’s npm publish matrix and publishing commands.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
src/Nitro/CommandLine/src/npm/chillicream-nitro/README.md |
Expands CLI usage documentation and points users to GitHub Actions. |
src/Nitro/CommandLine/src/npm/chillicream-nitro-win-x86/README.md |
Adds a README clarifying it’s a platform binary package. |
src/Nitro/CommandLine/src/npm/chillicream-nitro-win-x64/README.md |
Adds a README clarifying it’s a platform binary package. |
src/Nitro/CommandLine/src/npm/chillicream-nitro-osx-x64/README.md |
Adds a README clarifying it’s a platform binary package. |
src/Nitro/CommandLine/src/npm/chillicream-nitro-osx-arm64/README.md |
Adds a README clarifying it’s a platform binary package. |
src/Nitro/CommandLine/src/npm/chillicream-nitro-linux-x64/README.md |
Adds a README clarifying it’s a platform binary package. |
src/Nitro/CommandLine/src/npm/chillicream-nitro-linux-musl-x64/README.md |
Adds a README clarifying it’s a platform binary package. |
src/Nitro/CommandLine/src/npm/chillicream-nitro-linux-arm64/README.md |
Adds a README clarifying it’s a platform binary package. |
.github/workflows/release.yml |
Adjusts npm publishing job matrix and dist-tag behavior. |
Comments suppressed due to low confidence (1)
.github/workflows/release.yml:448
- The
publish-nitro-cli-npmjob now always publishes@chillicream/nitrowith--tag latest. Since the workflow triggers on any16.*tag (including pre-releases like16.0.0-rc.1), this would publish pre-releases as thelatestdist-tag and effectively override the stable channel. Reintroduce dist-tag computation based onGIT_TAG(stable ->latest,-rc.*->rc, otherwise ->preview) and publish with that computed tag.
}
' package.json > package.json.tmp
mv package.json.tmp package.json
- name: 📦 Create tarball
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
365
to
+369
| run: | | ||
| npm publish "./chillicream-nitro-${{ matrix.rid }}-${GIT_TAG}.tgz" \ | ||
| --access public \ | ||
| --registry="${{ vars.NPM_REGISTRY_URL }}" | ||
| --registry="${{ vars.NPM_REGISTRY_URL }}" \ | ||
| --tag latest |
This was referenced May 1, 2026
Open
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.
No description provided.