File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
Expand file tree Collapse file tree 1 file changed +8
-11
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-
1410jobs :
1511 build :
1612 runs-on : ubuntu-latest
1713 if : github.repository_owner == 'lambdatest'
1814 steps :
19- - uses : actions/checkout@v4
20- - uses : actions/setup-node@v4
15+ - uses : actions/checkout@v2
16+ - uses : actions/setup-node@v2
2117 with :
22- node-version : 20
18+ node-version : 16
2319 - run : npm ci
2420
2521 publish-npm :
2622 needs : build
2723 runs-on : ubuntu-latest
2824 steps :
29- - uses : actions/checkout@v4
30- - uses : actions/setup-node@v4
25+ - uses : actions/checkout@v2
26+ - uses : actions/setup-node@v2
3127 with :
32- node-version : 20
28+ node-version : 16
3329 registry-url : https://registry.npmjs.org/
3430 - name : PUBLISHING Cypress CLI Version ${{ github.event.release.tag_name }}
3531 run : |
36- npm install -g npm@latest
3732 npm ci
3833 npm publish --access public
3934 echo "CHECKING on NPM REPO, whether new version starts reflecting there or not:";
4035 npm view lambdatest-cypress-cli versions --json
36+ env :
37+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
4138 - name : Send custom JSON data to Slack workflow
4239 id : slack
4340
You can’t perform that action at this time.
0 commit comments