Skip to content

Commit ea0e42b

Browse files
mariomeyerclaude
andcommitted
fix(ci): use NPM_TOKEN for private repo (provenance requires public)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fb9943e commit ea0e42b

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ jobs:
4848
runs-on: ubuntu-latest
4949
permissions:
5050
contents: read
51-
id-token: write
5251
steps:
5352
- uses: actions/checkout@v4
5453

@@ -57,14 +56,13 @@ jobs:
5756
node-version: 22
5857
registry-url: https://registry.npmjs.org
5958

60-
- name: Upgrade npm
61-
run: npm install -g npm@latest
62-
6359
- name: Publish CLI to npm
6460
working-directory: cli
6561
run: |
6662
npm version ${{ needs.release.outputs.new_release_version }} --no-git-tag-version
67-
npm publish --access public --provenance
63+
npm publish --access public
64+
env:
65+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6866

6967
# Build each platform natively per stack (no QEMU emulation)
7068
build:

0 commit comments

Comments
 (0)