Repository navigation
ci(release): stage packages with npm stage publish - #652
Merged
Merged
Conversation
Releases now stage every package with `npm stage publish`. A staged version stays private until a maintainer approves it with 2FA on npmjs.com, so a compromised workflow can no longer publish on its own. Verification waits for that approval, and an unapproved release resumes with release_tag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Releases now upload every package with
npm stage publishinstead ofnpm publish. A staged version stays private until a maintainer approves it with 2FA on npmjs.com, so the release workflow alone can no longer put a version on npm.How a release runs with this change:
release_tag. A resumed run skips versions that are already published.npm stage publishneeds npm 11.15.0 or newer, and moving dist-tags with trusted publishing needs 11.21.0. The npm version check now always runs, so an older npm stops the release before any upload. The publish job already installs npm 11.21.3.Before the next release, each package's trusted publisher on npmjs.com must allow staged publishing. Publishers created before May 20, 2026 allow only
npm publish.🤖 Generated with Claude Code