Skip to content

Commit 7b2aa1f

Browse files
committed
ci: add coverage test
1 parent 5fd3d85 commit 7b2aa1f

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on: ["push", "pull_request"]
2+
3+
name: Test Coveralls
4+
5+
jobs:
6+
7+
build:
8+
name: Build
9+
runs-on: ubuntu-latest
10+
steps:
11+
12+
- uses: actions/checkout@v1
13+
14+
- name: Use Node.js 10.x
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: 10.x
18+
19+
- name: npm install, make test-coverage
20+
run: |
21+
npm install
22+
make test-coverage
23+
24+
- name: Coveralls
25+
uses: coverallsapp/github-action@master
26+
with:
27+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)