File tree 1 file changed +35
-0
lines changed 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ jobs :
3
+ build :
4
+ working_directory : ~/mern-starter
5
+ # The primary container is an instance of the first list image listed. Your build commands run in this container.
6
+ docker :
7
+ - image : circleci/node:4.8.2
8
+ steps :
9
+ - checkout
10
+ - run :
11
+ name : update-yarn
12
+ command : ' sudo npm install -g yarn@latest'
13
+ - restore_cache :
14
+ key : dependency-cache-{{ checksum "package.json" }}
15
+ - run :
16
+ name : install-npm-wee
17
+ command : yarn install
18
+ - save_cache :
19
+ key : dependency-cache-{{ checksum "package.json" }}
20
+ paths :
21
+ - .node_modules
22
+ - run :
23
+ name : test
24
+ command : yarn test
25
+ # - run:
26
+ # name: code-coverage
27
+ # command: './node_modules/.bin/nyc report --reporter=text-lcov'
28
+ # - store_artifacts:
29
+ # path: test-results.xml
30
+ # prefix: tests
31
+ # - store_artifacts:
32
+ # path: coverage
33
+ # prefix: coverage
34
+ # - store_test_results:
35
+ # path: test-results.xml
You can’t perform that action at this time.
0 commit comments