We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e07036 commit 08fb506Copy full SHA for 08fb506
.github/workflows/main.yml
@@ -16,6 +16,17 @@ jobs:
16
node-version: '18.x'
17
registry-url: 'https://registry.npmjs.org'
18
- run: npm install
19
+
20
+ # Run tests with coverage
21
+ - run: npm test -- --coverage
22
+ continue-on-error: false
23
24
+ # Send coverage report to Coveralls
25
+ - run: npm install coveralls --save-dev
26
+ - run: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
27
+ env:
28
+ COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_POSTGRES_TOKEN }}
29
30
- run: npm publish
31
env:
32
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments