Skip to content

Commit 37e735d

Browse files
committed
chore: Add coverage tracking
1 parent 4512dad commit 37e735d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/build.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ jobs:
3737
run: yarn install --frozen-lockfile --non-interactive
3838

3939
- name: Unit tests
40-
run: yarn test --ci
40+
run: yarn test --ci --coverage
41+
42+
- name: Upload coverage to Codecov
43+
uses: codecov/codecov-action@v2
4144

4245
lint:
4346
name: Lint

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
build/
2+
coverage/
23
node_modules/
34
npm-debug.log
45
lib/

0 commit comments

Comments
 (0)