File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,12 @@ jobs:
2424 release :
2525 name : Release
2626 runs-on : ubuntu-latest
27- needs : [authorize]
27+ needs : [ authorize ]
28+ permissions :
29+ id-token : write
2830 steps :
2931 - name : Checkout
30- uses : actions/checkout@v2
32+ uses : actions/checkout@v4
3133
3234 # Needed for lerna version to determine last tag
3335 - name : Fetch
4042 key : ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
4143
4244 - name : Setup Node
43- uses : actions/setup-node@v2
45+ uses : actions/setup-node@v4
4446 with :
45- node-version : ' 16'
47+ node-version : ' 20'
48+ registry-url : ' https://registry.npmjs.org'
49+
50+ - name : Update npm
51+ run : npm install -g npm@latest
4652
4753 - name : Install
4854 run : yarn install --frozen-lockfile
7682 --loglevel silly \
7783 --yes
7884
79- - name : Setup NPM Token
80- if : ${{ github.event.inputs.dryRun == 'false'}}
81- env :
82- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
83- run : echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
84-
8585 - name : Release
8686 if : ${{ github.event.inputs.dryRun == 'false'}}
8787 env :
You can’t perform that action at this time.
0 commit comments