File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818
1919permissions :
2020 contents : write
21+ id-token : write
2122
2223jobs :
2324 check-pr-label :
@@ -341,9 +342,6 @@ jobs:
341342 with :
342343 node-version : " 20"
343344 registry-url : " https://registry.npmjs.org"
344- # Enable OIDC trusted publishing authentication
345- # This eliminates the need for NPM_TOKEN secrets
346- # See: https://github.blog/changelog/2024-04-15-npm-provenance-now-supports-github-actions/
347345
348346 - name : Download all artifacts
349347 uses : actions/download-artifact@v4
@@ -393,12 +391,9 @@ jobs:
393391 run : |
394392 for dir in npm/darwin-arm64 npm/darwin-x64 npm/linux-arm64 npm/linux-x64 npm/windows; do
395393 cd "$dir"
396- # Using --provenance with OIDC authentication (no token needed)
397- npm publish --provenance --access public
394+ npm publish
398395 cd ../..
399396 done
400397
401398 - name : Publish main package
402- run : |
403- # Using --provenance with OIDC authentication (no token needed)
404- npm publish --provenance --access public
399+ run : npm publish
You can’t perform that action at this time.
0 commit comments