Skip to content

Commit c66bd8f

Browse files
committed
fix(ci): set NODE_AUTH_TOKEN to empty for OIDC publishing
semantic-release/npm#1069 — the plugin's OIDC token exchange succeeds but npm publish fails with ENEEDAUTH because the temporary .npmrc created by the plugin is empty. Setting NODE_AUTH_TOKEN="" allows npm to fall through to OIDC authentication.
1 parent 1726636 commit c66bd8f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,4 @@ jobs:
9898
- run: npx semantic-release
9999
env:
100100
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
101+
NODE_AUTH_TOKEN: ""

0 commit comments

Comments
 (0)