Skip to content

Commit 1d8ef99

Browse files
Merge pull request #462 from LambdaTest/dev
Dev
2 parents 2a084af + d7fc343 commit 1d8ef99

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

.github/workflows/npm-publish.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,34 @@ on:
77
release:
88
types: [created]
99

10-
permissions:
11-
id-token: write # Required for OIDC
12-
contents: read
13-
1410
jobs:
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
uses: slackapi/[email protected]
@@ -58,4 +55,4 @@ jobs:
5855
}
5956
env:
6057
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
61-
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
58+
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lambdatest-cypress-cli",
3-
"version": "3.0.46",
3+
"version": "3.0.47",
44
"description": "The lambdatest-cypress-cli is LambdaTest's command-line interface (CLI) aimed to help you run your Cypress tests on LambdaTest platform.",
55
"homepage": "https://github.com/LambdaTest/lambdatest-cypress-cli",
66
"author": "LambdaTest <[email protected]>",

0 commit comments

Comments
 (0)