Skip to content

ci: fix pnpm publish to use OIDC trusted publishing with provenance#1451

Merged
AbhiPrasad merged 1 commit intomainfrom
fix/npm-oidc-provenance-publish
Feb 27, 2026
Merged

ci: fix pnpm publish to use OIDC trusted publishing with provenance#1451
AbhiPrasad merged 1 commit intomainfrom
fix/npm-oidc-provenance-publish

Conversation

@AbhiPrasad
Copy link
Member

Add --provenance flag to pnpm publish commands so pnpm performs the OIDC token exchange with GitHub Actions instead of looking for a static npm token.

Add --provenance flag to pnpm publish commands and set NODE_AUTH_TOKEN
so npm performs the OIDC token exchange with GitHub Actions instead of
looking for a static npm token.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@AbhiPrasad AbhiPrasad self-assigned this Feb 27, 2026
@AbhiPrasad AbhiPrasad changed the title ci: fix npm publish to use OIDC trusted publishing with provenance ci: fix pnpm publish to use OIDC trusted publishing with provenance Feb 27, 2026
@AbhiPrasad AbhiPrasad merged commit db96141 into main Feb 27, 2026
18 checks passed
@AbhiPrasad AbhiPrasad deleted the fix/npm-oidc-provenance-publish branch February 27, 2026 18:32
AbhiPrasad added a commit that referenced this pull request Feb 27, 2026
Reverts the publish-related changes from #1450 and #1451, restoring npm
for the publish workflow and scripts while keeping the husky || true fix.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
AbhiPrasad added a commit that referenced this pull request Feb 27, 2026
Reverts the publish-related changes from #1450 and #1451, restoring npm
for the publish workflow and scripts while keeping the husky || true
fix.

pnpm publish has a ton of drawbacks compared to using plain npm.

Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
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.

2 participants