We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e839dde commit 109b20bCopy full SHA for 109b20b
.github/workflows/test.yml
@@ -4,7 +4,7 @@ on:
4
push:
5
branches: [ main, dev ]
6
pull_request:
7
- branches: [ dev ]
+ branches: [ main, dev ]
8
9
jobs:
10
build:
@@ -23,3 +23,12 @@ jobs:
23
node-version: ${{ matrix.node-version }}
24
- run: npm i
25
- run: npm test
26
+ - name: Generate Coverage
27
+ if: ${{ success() && github.event_name != 'pull_request' && matrix.node-version == '15.x' }}
28
+ run: npm run cov
29
+ - name: Coveralls
30
31
+ uses: coverallsapp/github-action@master
32
+ with:
33
+ path-to-lcov: ./coverage/lcov.info
34
+ github-token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments