File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 66 - master
77
88jobs :
9- build :
9+ publish :
10+ environment : publish
11+ permissions :
12+ contents : read
13+ id-token : write
1014 runs-on : ubuntu-latest
1115 steps :
12- - uses : actions/checkout@v3
16+ - uses : actions/checkout@v5
1317 with :
1418 submodules : recursive
1519
@@ -25,13 +29,11 @@ jobs:
2529
2630 - name : Setup Node
2731 if : steps.check.outputs.changed == 'true'
28- uses : actions/setup-node@v3
32+ uses : actions/setup-node@v4
2933 with :
3034 node-version-file : ' .nvmrc'
3135 registry-url : https://registry.npmjs.org/
3236
3337 - name : Publish the package to NPM
3438 if : steps.check.outputs.changed == 'true'
35- run : cd lib && npm publish
36- env :
37- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }} # NPM will automatically authenticate with this
39+ run : cd lib && npm publish --provenance
You can’t perform that action at this time.
0 commit comments