1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| name: Code Coverage
|
| on: [push, pull_request]
|
| jobs:
| build:
| runs-on: ubuntu-latest
| steps:
| - uses: actions/checkout@v1
| - name: Use Node.js 10.x
| uses: actions/setup-node@v1
| with:
| node-version: 10.x
| - name: install and coverage
| run: |
| yarn
| yarn coverage
| env:
| CI: true
|
| - name: Coveralls
| uses: coverallsapp/github-action@master
| with:
| github-token: ${{ secrets.github_token }}
|
|