Skip to content

Commit 4ffb104

Browse files
Stephen Millerclaude
authored andcommitted
ci: rename workflow to npm-deploy.yml, switch to npm Trusted Publisher OIDC
- Renames file to match registered trusted publisher workflow name - Adds id-token: write for OIDC authentication - Removes NPM_TOKEN (not needed with trusted publishers) - Adds --provenance flag for npm attestation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 820b43f commit 4ffb104

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
permissions:
1212
contents: read
13+
id-token: write
1314
steps:
1415
- uses: actions/checkout@v4
1516

@@ -22,6 +23,4 @@ jobs:
2223

2324
- run: npm test
2425

25-
- run: npm publish --access public
26-
env:
27-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
26+
- run: npm publish --access public --provenance

0 commit comments

Comments
 (0)