File tree Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change 22#
33# Check https://circleci.com/docs/2.0/language-javascript/ for more details
44#
5- version : 2
6- jobs :
7- build :
5+ version : 2.1
6+ executors :
7+ default :
88 docker :
99 # specify the version you desire here
1010 - image : circleci/node:8.10
1515 # - image: circleci/mongo:3.4.4
1616
1717 working_directory : ~/repo
18-
18+ orbs :
19+ codecov : codecov/codecov@1.0.5
20+ jobs :
21+ build :
22+ executor : default
1923 steps :
2024 - checkout
2125
@@ -26,12 +30,19 @@ jobs:
2630 # fallback to using the latest cache if no exact match is found
2731 - v1-dependencies-
2832
29- - run : yarn install
33+ - run :
34+ name : Install Dependencies
35+ command : yarn install --frozen-lockfile
3036
3137 - save_cache :
38+ name : Save Yarn Package Cache
39+ key : yarn-packages-{{ checksum "yarn.lock" }}
3240 paths :
33- - node_modules
34- key : v1-dependencies-{{ checksum "package.json" }}
41+ - ~/.cache/yarn
3542
3643 # run tests!
37- - run : yarn test
44+ - run : yarn lint
45+ - run : yarn test
46+
47+ - codecov/upload :
48+ file : ./coverage/lcov.info
You can’t perform that action at this time.
0 commit comments