File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 77 release :
88 types : [created]
99
10+ permissions :
11+ id-token : write # Required for OIDC
12+ contents : read
13+
1014jobs :
1115 build :
1216 runs-on : ubuntu-latest
1317 if : github.repository_owner == 'lambdatest'
1418 steps :
15- - uses : actions/checkout@v2
16- - uses : actions/setup-node@v2
19+ - uses : actions/checkout@v4
20+ - uses : actions/setup-node@v4
1721 with :
18- node-version : 16
22+ node-version : 20
1923 - run : npm ci
2024
2125 publish-npm :
2226 needs : build
2327 runs-on : ubuntu-latest
2428 steps :
25- - uses : actions/checkout@v2
26- - uses : actions/setup-node@v2
29+ - uses : actions/checkout@v4
30+ - uses : actions/setup-node@v4
2731 with :
28- node-version : 16
32+ node-version : 20
2933 registry-url : https://registry.npmjs.org/
3034 - name : PUBLISHING Cypress CLI Version ${{ github.event.release.tag_name }}
3135 run : |
36+ npm install -g npm@latest
3237 npm ci
3338 npm publish --access public
3439 echo "CHECKING on NPM REPO, whether new version starts reflecting there or not:";
3540 npm view lambdatest-cypress-cli versions --json
36- env :
37- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
3841 - name : Send custom JSON data to Slack workflow
3942 id : slack
4043
You can’t perform that action at this time.
0 commit comments