Skip to content

Commit 03d07fe

Browse files
committed
chore: Upload code coverage.
1 parent 429c785 commit 03d07fe

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.circleci/config.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
jobs:
33
build-and-test:
44
docker:
5-
- image: 'circleci/node:latest'
5+
- image: "circleci/node:latest"
66
steps:
77
- checkout
88
- restore_cache:
@@ -21,7 +21,10 @@ jobs:
2121
command: yarn build
2222
- run:
2323
name: Test
24-
command: yarn test
24+
command: yarn test --coverage
25+
- run:
26+
name: Upload Test Coverage
27+
command: yarn bash <(curl -s https://codecov.io/bash)
2528
- save_cache:
2629
paths:
2730
- ~/.cache/yarn
@@ -32,7 +35,7 @@ jobs:
3235
- .
3336
release:
3437
docker:
35-
- image: 'circleci/node:latest'
38+
- image: "circleci/node:latest"
3639
steps:
3740
- attach_workspace:
3841
at: .

0 commit comments

Comments
 (0)