Skip to content

Commit 1da933a

Browse files
fix(ci): add NODE_AUTH_TOKEN for npm publish in release workflow
The OIDC token exchange succeeds during verification but npm publish still needs NODE_AUTH_TOKEN to authenticate with the registry.
1 parent ae3e1d3 commit 1da933a

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
@@ -55,5 +55,6 @@ jobs:
5555
- name: Release
5656
env:
5757
GITHUB_TOKEN: ${{ secrets.DEPLOY_PAT || github.token }}
58+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5859
HUSKY: '0'
5960
run: pnpm semantic-release

0 commit comments

Comments
 (0)