Skip to content

Commit a7a8684

Browse files
authored
build(codecov): add codecov section (#94)
1 parent 8597adc commit a7a8684

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/workflows.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,22 @@ jobs:
4444
run: npm run build
4545
- name: Check That Build Is ES5 Compatible
4646
run: npm run is-build-es5
47+
coverage:
48+
name: Code Coverage
49+
runs-on: ubuntu-latest
50+
needs: build
51+
steps:
52+
- uses: actions/checkout@v2
53+
with:
54+
ref: ${{ github.ref }}
55+
- name: Setup Node
56+
uses: actions/setup-node@v1
57+
- name: Install dependencies
58+
run: npm ci
59+
- name: Run Tests
60+
run: npm run test
61+
- name: Codecov
62+
uses: codecov/codecov-action@v1
4763
release:
4864
name: Release
4965
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)