-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
32 lines (32 loc) · 772 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: 2
jobs:
test:
docker:
- image: circleci/node:10-browsers
environment:
NPM_CONFIG_PROGRESS: "false"
NPM_CONFIG_SPIN: "false"
TEST_REPORTS_DIR: "$CIRCLE_TEST_REPORTS"
steps:
- checkout
- run:
name: Login to npm
command: |
npm config set "//registry.npmjs.org/:_authToken" $NPM_AUTH
yarn add codecov
- run:
name: Install dependencies
command: yarn install
- run:
name: Run tests
command: make test
- store_artifacts:
path: coverage
- run:
name: Run coverage
command: ./node_modules/.bin/codecov
workflows:
version: 2
test_and_publish:
jobs:
- test