Skip to content

Commit e282661

Browse files
build(coverage): use coveralls with github action
1 parent 3780507 commit e282661

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/coverage.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on: ['push', 'pull_request']
2+
3+
name: Test Coveralls
4+
5+
jobs:
6+
build:
7+
name: build
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: check out git repository
11+
uses: actions/checkout@v1
12+
13+
- name: install node, npm, and yarn
14+
uses: actions/setup-node@v1
15+
with:
16+
node-version: 12
17+
18+
- name: install, test
19+
run: |
20+
yarn
21+
yarn test:ci
22+
23+
- name: coveralls
24+
uses: coverallsapp/github-action@master
25+
with:
26+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)