Skip to content

Commit 049dd35

Browse files
committed
Fix release workflow: set NPM_CONFIG_PROVENANCE for OIDC auth
The changeset publish command doesn't forward --provenance to the underlying npm publish calls. Setting NPM_CONFIG_PROVENANCE=true as an env var ensures npm uses OIDC for every publish.
1 parent ee1bd8c commit 049dd35

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ jobs:
3434
publish: npx changeset publish --provenance
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
NPM_CONFIG_PROVENANCE: "true"

0 commit comments

Comments
 (0)