Skip to content

Commit 4bd2018

Browse files
author
jaiprasath.m
committed
PA-117727 Resolved comments
1 parent ffe6505 commit 4bd2018

File tree

4 files changed

+20
-606
lines changed

4 files changed

+20
-606
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
env:
1313
XCLIENTIDSANDBOX: ${{ secrets.XCLIENTIDSANDBOX }}
1414
XCLIENTSECRETSANDBOX: ${{ secrets.XCLIENTSECRETSANDBOX }}
15-
COVERALLSREPOTOKEN: ${{ secrets.COVERALLSREPOTOKEN }}
1615

1716
steps:
1817
- uses: actions/checkout@v4
@@ -22,20 +21,8 @@ jobs:
2221
with:
2322
node-version: '21.x'
2423

25-
- name: Check if secrets are set (masked output)
26-
run: |
27-
echo "XCLIENTIDSANDBOX is ${XCLIENTIDSANDBOX:0:4}**** (partially masked)"
28-
echo "XCLIENTSECRETSANDBOX is ${XCLIENTSECRETSANDBOX:0:4}**** (partially masked)"
29-
echo "COVERALLSREPOTOKEN is ${COVERALLSREPOTOKEN:0:4}**** (partially masked)"
30-
31-
- name: Check if secrets are non-empty
32-
run: |
33-
[ -z "$XCLIENTIDSANDBOX" ] && echo "XCLIENTIDSANDBOX is empty" || echo "XCLIENTIDSANDBOX is set"
34-
[ -z "$XCLIENTSECRETSANDBOX" ] && echo "XCLIENTSECRETSANDBOX is empty" || echo "XCLIENTSECRETSANDBOX is set"
35-
[ -z "$COVERALLSREPOTOKEN" ] && echo "COVERALLSREPOTOKEN is empty" || echo "COVERALLSREPOTOKEN is set"
36-
3724
- name: Install dependencies
38-
run: npm install && npm install coveralls --save-dev
25+
run: npm install
3926

4027
- name: Run Tests
41-
run: npm test && cd coverage && ls && cd .. && cat coverage/lcov.info | npx coveralls
28+
run: npm test

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@
2222
"scripts": {
2323
"build": "tsc && tsc -p tsconfig.esm.json",
2424
"prepare": "npm run build",
25-
"test": "jest --coverage && coveralls < coverage/lcov.info"
25+
"test": "jest"
2626
},
2727
"dependencies": {
2828
"@sentry/node": "^7.73.0",
29-
"axios": "1.7.7",
30-
"cashfree-pg": "^5.0.3",
31-
"dotenv": "^16.5.0"
29+
"axios": "1.7.7"
3230
},
3331
"devDependencies": {
3432
"@types/chai": "^4.3.10",
@@ -37,11 +35,11 @@
3735
"@types/react": "^18.2.39",
3836
"@types/sinon": "^17.0.1",
3937
"chai": "^4.3.10",
40-
"coveralls": "^3.1.1",
4138
"jest": "^29.7.0",
4239
"mocha-junit-reporter": "^2.2.1",
4340
"sinon": "^17.0.1",
4441
"ts-jest": "^29.1.1",
45-
"typescript": "^4.9.5"
42+
"typescript": "^4.9.5",
43+
"dotenv": "^16.5.0"
4644
}
4745
}

0 commit comments

Comments
 (0)