{{ message }}
Repository navigation
feat(npm): add support for staged publishing with pnpm - #44
Merged
Merged
Conversation
Introduce a new input `stage` to enable `pnpm stage publish` for npm's staged publishing workflow. This allows for verification of release artifacts before final approval to the live registry.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/reusable-release-npm.yaml:
- Around line 108-115: Update the "publish to npm (staging)" step that runs
`pnpm stage publish` to either document required versions or pin the setup
action: add a note in .github/workflows/reusable-release-npm.md stating that
`pnpm stage publish` requires pnpm >= 11.3.0 and that npm staged publishing
requires Node.js >= 22.14.0 and npm CLI >= 11.15.0, or modify the workflow's
`setup pnpm` step to pin `pnpm/action-setup` to a version >= 11.3.0 so the `pnpm
stage publish` command (used in the "publish to npm (staging)" step) will be
available at runtime.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: d047cf5f-af03-4dad-9fe1-3f8b57f5dfdf
📒 Files selected for processing (2)
.github/workflows/reusable-release-npm.md.github/workflows/reusable-release-npm.yaml
Added version requirements for `pnpm` and `Node.js` to support npm's staged publishing workflow. This includes specifying the minimum versions needed for `pnpm stage publish` and `npm CLI`.
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.

Introduce a new input
stageto enablepnpm stage publishfor npm's staged publishing workflow. This allows for verification of release artifacts before final approval to the live registry.Summary by CodeRabbit