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:
Nate 2026-03-01 09:40:51 -08:00
parent de12be19ce
commit 9fe15eeea8

View file

@ -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