chore: Upload code coverage.
This commit is contained in:
parent
429c7850d5
commit
03d07feed3
|
@ -2,7 +2,7 @@ version: 2
|
|||
jobs:
|
||||
build-and-test:
|
||||
docker:
|
||||
- image: 'circleci/node:latest'
|
||||
- image: "circleci/node:latest"
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
|
@ -21,7 +21,10 @@ jobs:
|
|||
command: yarn build
|
||||
- run:
|
||||
name: Test
|
||||
command: yarn test
|
||||
command: yarn test --coverage
|
||||
- run:
|
||||
name: Upload Test Coverage
|
||||
command: yarn bash <(curl -s https://codecov.io/bash)
|
||||
- save_cache:
|
||||
paths:
|
||||
- ~/.cache/yarn
|
||||
|
@ -32,7 +35,7 @@ jobs:
|
|||
- .
|
||||
release:
|
||||
docker:
|
||||
- image: 'circleci/node:latest'
|
||||
- image: "circleci/node:latest"
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: .
|
||||
|
|
Loading…
Reference in New Issue