Skip to content

Commit a0f3911

Browse files
committed
config circleci: coverage
1 parent a234c92 commit a0f3911

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.circleci/config.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,23 @@ jobs:
44
working_directory: ~/mern-starter
55
docker:
66
- image: circleci/node:8.11.4
7-
- image: mongo:3.4.4
87
steps:
98
- checkout
109
- run:
1110
name: update-npm
1211
command: 'sudo npm install -g npm@5.6.0'
13-
- restore_cache:
14-
key: dependency-cache-{{ checksum "package.json" }}
1512
- run:
16-
name: install-npm-wee
13+
name: install
1714
command: npm install
18-
- save_cache:
19-
key: dependency-cache-{{ checksum "package.json" }}
20-
paths:
21-
- ./node_modules
2215
- run:
2316
name: test
2417
command: npm test
2518
- run:
26-
name: code-coverage
27-
command: 'npm run coverage'
19+
name: test report html
20+
command: npm run test-clear
21+
- run:
22+
name: coverage
23+
command: npm run coverage
2824
- store_artifacts:
2925
path: test-results.xml
3026
prefix: tests

0 commit comments

Comments
 (0)