Skip to content

ci: stage npm releases before publishing#463

Open
JoviDeCroock wants to merge 1 commit into
mainfrom
ci/staged-npm-publish
Open

ci: stage npm releases before publishing#463
JoviDeCroock wants to merge 1 commit into
mainfrom
ci/staged-npm-publish

Conversation

@JoviDeCroock
Copy link
Copy Markdown
Member

@JoviDeCroock JoviDeCroock commented May 21, 2026

Summary

  • Switch the release workflow from direct changeset publish to staging the package with npm stage publish.
  • Add a small staging helper that skips already-published versions, derives the dist-tag from the package version, stages with the configured public access, and surfaces stage IDs when npm returns them.
  • Bump the workflow npm install to npm@^11.15.0, which is required for staged publishing.

Why

This keeps CI responsible for preparing the release artifact, but moves the final public publish behind maintainer approval with 2FA via npm stage approve <stage-id> or npmjs.com.

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