Skip to content

feat: switch npm publishing to OIDC trusted publishing#107

Open
simongdavies wants to merge 1 commit intomainfrom
update-npm-publishing
Open

feat: switch npm publishing to OIDC trusted publishing#107
simongdavies wants to merge 1 commit intomainfrom
update-npm-publishing

Conversation

@simongdavies
Copy link
Copy Markdown
Contributor

  • Move publish job to ubuntu-latest (OIDC requires GitHub-hosted runners)
  • Add --provenance flag for production releases (conditional on event type)
  • Pin npm to v11 (trusted publishing requires 11.5.1+)
  • Add NPM_TOKEN fallback for manual workflow_dispatch
  • Add post-publish verification step for all 4 packages
  • Update release docs with trusted publisher setup and manual publishing procedure
  • Remove NPM_TOKEN secret from CreateRelease.yml workflow_call

- Move publish job to ubuntu-latest (OIDC requires GitHub-hosted runners)
- Add --provenance flag for production releases (conditional on event type)
- Pin npm to v11 (trusted publishing requires 11.5.1+)
- Add NPM_TOKEN fallback for manual workflow_dispatch
- Add post-publish verification step for all 4 packages
- Update release docs with trusted publisher setup and manual publishing procedure
- Remove NPM_TOKEN secret from CreateRelease.yml workflow_call

Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
@simongdavies simongdavies added the kind/enhancement New feature or improvement label Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement New feature or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant