File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed
Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change 11name : release
2-
3- env :
4- NODE_JS_VERSION : 20.19.5
5-
62on :
73 release :
8- types : [ created ]
9-
4+ types : [created]
5+ env :
6+ NODE_JS_VERSION : 20.19.5
107jobs :
118 release :
129 runs-on : ubuntu-latest
10+ permissions :
11+ contents : read
12+ id-token : write # Required for OIDC
1313 steps :
14- - uses : actions/checkout@v2
15- - uses : actions/setup-node@v2
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-node@v4
1616 with :
1717 node-version : ${{ env.NODE_JS_VERSION }}
1818 registry-url : ' https://registry.npmjs.org'
19-
20- - run : yarn install --frozen-lockfile
19+ - run : npm ci
2120 - run : yarn prepare
22- - run : npm ci --legacy-peer-deps
23- - run : npm publish --access public
21+ - run : npm publish --access public --provenance
2422 env :
25- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
23+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }} # Granular token
You can’t perform that action at this time.
0 commit comments