Skip to content

chore(release): Stage npm releases from CI for security-key approval - #208

Merged
Aukevanoost merged 1 commit into
mainfrom
chore/staged-releases
Nov 15, 2026
Merged

Aukevanoost merged 1 commit into
mainfrom
chore/staged-releases

Conversation

@Aukevanoost

Copy link
Copy Markdown
Contributor

Adds a tag-triggered release.yml that verifies, builds and packs dist/ once, checks the tarball against an allowlist, and runs npm stage publish --provenance through a stage-only trusted publisher (environment npm-release). A maintainer approves each staged version on npmjs.com with a security key.

  • The tag sets the released version (npm version from the tag before the build); prerelease tags stage under next, others under latest.
  • Packs dist/ (written by post-build.mjs); the allowlist accepts only package.json, README.md, LICENSE, the four schematic/builder JSON files and src/**. All 213 files of the published 22.2.5 pass it.
  • Actions are pinned to commit SHAs.

The workflow only runs on v* tag pushes and cannot stage anything until the npm trusted publisher is configured, so merging has no effect on its own. Same pipeline as native-federation/orchestrator, communication and native-federation-core.

Add a tag-triggered release workflow that verifies, builds and packs dist/ once, checks the tarball against an allowlist and runs `npm stage publish --provenance` through a stage-only trusted publisher. The tag sets the released version.
@Aukevanoost
Aukevanoost merged commit 9e2b49e into main Nov 15, 2026
1 check 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