File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed
Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 44jobs :
55 release :
66 runs-on : ubuntu-latest
7+ permissions :
8+ id-token : write # Required for trusted publishing via OIDC (https://docs.npmjs.com/trusted-publishers)
79 steps :
810 - uses : actions/checkout@v4
911 with :
1921 run : yarn build
2022
2123 - name : Publish to NPM
22- run : |
23- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
24- echo ":::: Publishing as $(npm whoami)"
25- npm run release:publish-manual
26- env :
27- NPM_TOKEN : ${{ secrets.NPM_RELEASE_AUTH_TOKEN }}
24+ run : npm run release:publish-manual
Original file line number Diff line number Diff line change 55jobs :
66 release :
77 runs-on : ubuntu-latest
8+ permissions :
9+ id-token : write # Required for trusted publishing via OIDC (https://docs.npmjs.com/trusted-publishers)
810 if : " contains(github.event.head_commit.message, 'chore(release): publish')"
911 steps :
1012 - uses : actions/checkout@v4
2123 run : yarn build
2224
2325 - name : Publish to NPM
24- run : |
25- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
26- echo ":::: Publishing as $(npm whoami)"
27- npm run release:publish
28- env :
29- NPM_TOKEN : ${{ secrets.NPM_RELEASE_AUTH_TOKEN }}
26+ run : npm run release:publish
You can’t perform that action at this time.
0 commit comments