File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212 permissions :
1313 contents : read
14- id-token : write # for npm provenance
14+ id-token : write # required for npm OIDC provenance
1515
1616 steps :
1717 - uses : actions/checkout@v4
3333 run : pnpm -r run build
3434
3535 - name : Publish changed packages
36- run : pnpm -r --filter='...[origin/main]' publish --access public --no-git-checks
37- env :
38- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
36+ # No token needed — npm authenticates via GitHub OIDC.
37+ # Each package must have this repo configured as a trusted publisher
38+ # on npmjs.org: package settings → Publishing → Add trusted publisher
39+ # Owner: bsv-blockchain
40+ # Repository: ts-stack
41+ # Workflow: release.yml
42+ # Environment: (leave blank)
43+ run : pnpm -r --filter='...[origin/main]' publish --access public --no-git-checks --provenance
You can’t perform that action at this time.
0 commit comments