File tree Expand file tree Collapse file tree 4 files changed +20
-606
lines changed
Expand file tree Collapse file tree 4 files changed +20
-606
lines changed Original file line number Diff line number Diff line change 1212 env :
1313 XCLIENTIDSANDBOX : ${{ secrets.XCLIENTIDSANDBOX }}
1414 XCLIENTSECRETSANDBOX : ${{ secrets.XCLIENTSECRETSANDBOX }}
15- COVERALLSREPOTOKEN : ${{ secrets.COVERALLSREPOTOKEN }}
1615
1716 steps :
1817 - uses : actions/checkout@v4
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
Original file line number Diff line number Diff line change 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" ,
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}
You can’t perform that action at this time.
0 commit comments