You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
496 B
24 lines
496 B
6 years ago
|
version: 2.0
|
||
|
jobs:
|
||
|
build:
|
||
|
docker:
|
||
|
- image: circleci/node:9.11.2
|
||
|
steps:
|
||
|
- checkout
|
||
|
- run:
|
||
|
name: Delete any old node_modules
|
||
|
command: |
|
||
|
rm -rf node_modules/
|
||
|
- run:
|
||
|
name: Install dependencies
|
||
|
command: |
|
||
|
npm install
|
||
|
- run:
|
||
|
name: Run tests
|
||
|
command: |
|
||
|
npm run test-cov
|
||
|
- run:
|
||
|
name: Upload coverage
|
||
|
command: |
|
||
|
bash <(curl -s https://codecov.io/bash)
|