Fix stable release npm publish by enabling OIDC trusted publishing
Add --provenance flag to npm publish so it uses the GitHub OIDC token exchange instead of the expired NODE_AUTH_TOKEN for authentication. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
de12be19ce
commit
9fe15eeea8
1 changed files with 1 additions and 1 deletions
2
.github/workflows/stable-release.yml
vendored
2
.github/workflows/stable-release.yml
vendored
|
|
@ -187,7 +187,7 @@ jobs:
|
|||
- name: Publish stable to npm
|
||||
working-directory: extensions/cli
|
||||
run: |
|
||||
npm publish --tag latest
|
||||
npm publish --tag latest --provenance
|
||||
echo "Published stable version: ${{ steps.final_version.outputs.stable_version }}"
|
||||
|
||||
- name: Create stable release on GitHub
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue