Skip to content

Publish to npm via trusted publishing - #71

Merged
microbit-matt-hillsdon merged 1 commit into
mainfrom
npm-trusted-publishing
Sep 9, 2026
Merged

Publish to npm via trusted publishing#71
microbit-matt-hillsdon merged 1 commit into
mainfrom
npm-trusted-publishing

Conversation

@microbit-matt-hillsdon

Copy link
Copy Markdown
Contributor

Replaces the NPM_TOKEN secret with OIDC, following makecode-embed. The
build job packs the tarball and a separate publish job, with no checkout
and the only id-token permission, stages it to npm from the npm-publish
environment. npm pack now runs on every build so packaging problems fail
a branch build rather than a release.

Replaces the NPM_TOKEN secret with OIDC, following makecode-embed. The
build job packs the tarball and a separate publish job, with no checkout
and the only id-token permission, stages it to npm from the npm-publish
environment. npm pack now runs on every build so packaging problems fail
a branch build rather than a release.
@microbit-matt-hillsdon
microbit-matt-hillsdon merged commit 3b16fe8 into main Sep 9, 2026
4 checks passed
@microbit-matt-hillsdon
microbit-matt-hillsdon deleted the npm-trusted-publishing branch September 9, 2026 11:58
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