File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -3,22 +3,24 @@ name: publish-on-tag
33on :
44 push :
55 tags :
6- - ' *'
6+ - ' *'
77
88jobs :
99 publish :
1010 runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
13+ id-token : write
1114 steps :
1215 - name : Checkout
13- uses : actions/checkout@v2
16+ uses : actions/checkout@v4
1417 - name : Set up Node.js
15- uses : actions/setup-node@v3
18+ uses : actions/setup-node@v4
1619 with :
1720 node-version-file : ' .nvmrc'
21+ registry-url : ' https://registry.npmjs.org'
22+ - name : Update npm
23+ run : npm install -g npm@latest
1824 - name : Publish
19- env :
20- NPM_TOKEN : ${{secrets.NPM_TOKEN}}
2125 run : |
22- npm config set registry 'https://wombat-dressing-room.appspot.com/'
23- npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}'
24- npm publish
26+ npm publish --provenance --access public
You can’t perform that action at this time.
0 commit comments