Skip to content

Commit 2c57092

Browse files
yamitzkyclaude
andcommitted
fix: use npm trusted publishing (OIDC) instead of NPM_TOKEN
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 97b3044 commit 2c57092

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,5 @@ jobs:
3737
with:
3838
node-version: "22"
3939
registry-url: "https://registry.npmjs.org"
40+
- run: npm install -g npm@latest
4041
- run: npm publish --provenance --access public
41-
env:
42-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
"engines": {
2323
"bun": ">=1.0"
2424
},
25+
"publishConfig": {
26+
"access": "public",
27+
"provenance": true
28+
},
2529
"dependencies": {
2630
"@optique/core": "latest",
2731
"@optique/run": "latest",

0 commit comments

Comments
 (0)