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.
23 lines
496 B
23 lines
496 B
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)
|
|
|