Skip to content

fix: migrate release workflow to OIDC trusted publishing#38

Merged
theashraf merged 1 commit intomainfrom
fix/oidc-release-workflow
Mar 13, 2026
Merged

fix: migrate release workflow to OIDC trusted publishing#38
theashraf merged 1 commit intomainfrom
fix/oidc-release-workflow

Conversation

@theashraf
Copy link
Member

  • Replace secret-based npm auth (.npmrc + NPMJS_TOKEN) with OIDC trusted publishing via setup-node registry-url
  • Add skipChecks: true to release-it config to skip npm whoami/ping which fail with OIDC tokens
  • Add --provenance --access public to npm publish args
  • Upgrade npm to latest in setup action since Node 20 bundles npm v10.8 but OIDC requires npm >= 11.5.1
  • Upgrade actions to v4 (setup-node, cache, checkout)
  • Remove unnecessary packages:write permission

- Replace secret-based npm auth (.npmrc + NPMJS_TOKEN) with OIDC
  trusted publishing via setup-node registry-url
- Add skipChecks: true to release-it config to skip npm whoami/ping
  which fail with OIDC tokens
- Add --provenance --access public to npm publish args
- Upgrade npm to latest in setup action since Node 20 bundles npm v10.8
  but OIDC requires npm >= 11.5.1
- Upgrade actions to v4 (setup-node, cache, checkout)
- Remove unnecessary packages:write permission
@changeset-bot
Copy link

changeset-bot bot commented Mar 13, 2026

⚠️ No Changeset found

Latest commit: 54d2b19

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@theashraf theashraf merged commit af11e57 into main Mar 13, 2026
7 checks 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