Skip to content

Publish: stage releases for 2FA approval - #1

Merged
robertgalop merged 1 commit into
mainfrom
npm-staged-publish
Nov 19, 2026
Merged

robertgalop merged 1 commit into
mainfrom
npm-staged-publish

Conversation

@robertgalop

Copy link
Copy Markdown
Contributor

The v0.1.0 run built and signed the package, then npm refused it: This token can only publish to a staging area… use npm stage publish (E_STAGE_REQUIRED).

This switches the workflow to npm stage publish --provenance --access public on npm 12. CI stages the version; a maintainer approves it on npmjs.com (or npm stage approve <id>) with 2FA before it goes public.

🤖 Generated with Claude Code

npm refuses a direct first publish with a token that can't bypass 2FA (E_STAGE_REQUIRED).
Staging keeps provenance and adds a maintainer 2FA approval before anything goes public.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@robertgalop
robertgalop merged commit 42e4127 into main Nov 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant