Skip to content

feat: switch npm publishing to OIDC trusted publishing#107

Merged
jprendes merged 1 commit intomainfrom
update-npm-publishing
Apr 16, 2026
Merged

feat: switch npm publishing to OIDC trusted publishing#107
jprendes merged 1 commit intomainfrom
update-npm-publishing

Conversation

@simongdavies
Copy link
Copy Markdown
Member

  • 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
@jprendes jprendes merged commit 67d240a into main Apr 16, 2026
19 checks passed
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.

2 participants