File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 2727 - run : npm ci
2828 - run : npm run lint
2929 - run : npm run test
30- - uses : codacy/codacy-coverage-reporter-action@v1
31- with :
32- api-token : ${{ secrets.CODACY_API_TOKEN }}
33- coverage-reports : coverage/lcov.info
Original file line number Diff line number Diff line change @@ -22,14 +22,21 @@ jobs:
2222 release-type : node
2323 bump-minor-pre-major : true
2424 - uses : actions/checkout@v3
25- if : ${{ steps.release.outputs.release_created }}
25+ if : steps.release.outputs.release_created
2626 - uses : actions/setup-node@v3
27- if : ${{ steps.release.outputs.release_created }}
27+ if : steps.release.outputs.release_created
2828 with :
2929 node-version : 18
3030 cache : npm
3131 registry-url : https://registry.npmjs.org
32- - run : npm ci && npm run build && npm publish --registry=https://registry.npmjs.org
33- if : ${{ steps.release.outputs.release_created }}
32+ - run : npm ci && npm run test
33+ if : steps.release.outputs.release_created
34+ - uses : codacy/codacy-coverage-reporter-action@v1
35+ if : steps.release.outputs.release_created
36+ with :
37+ api-token : ${{ secrets.CODACY_API_TOKEN }}
38+ coverage-reports : coverage/lcov.info
39+ - run : npm run build && npm publish --registry=https://registry.npmjs.org
40+ if : steps.release.outputs.release_created
3441 env :
3542 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments