chore: Upload code coverage.

This commit is contained in:
Dylan Vann 2019-02-21 14:58:01 -05:00
parent 429c7850d5
commit 03d07feed3
1 changed files with 6 additions and 3 deletions

View File

@ -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: .