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 2
2
#
3
3
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
4
4
#
5
- version : 2
6
- jobs :
7
- build :
5
+ version : 2.1
6
+ executors :
7
+ default :
8
8
docker :
9
9
# specify the version you desire here
10
10
- image : circleci/node:8.10
15
15
# - image: circleci/mongo:3.4.4
16
16
17
17
working_directory : ~/repo
18
-
18
+ orbs :
19
+ codecov :
codecov/[email protected]
20
+ jobs :
21
+ build :
22
+ executor : default
19
23
steps :
20
24
- checkout
21
25
@@ -26,12 +30,19 @@ jobs:
26
30
# fallback to using the latest cache if no exact match is found
27
31
- v1-dependencies-
28
32
29
- - run : yarn install
33
+ - run :
34
+ name : Install Dependencies
35
+ command : yarn install --frozen-lockfile
30
36
31
37
- save_cache :
38
+ name : Save Yarn Package Cache
39
+ key : yarn-packages-{{ checksum "yarn.lock" }}
32
40
paths :
33
- - node_modules
34
- key : v1-dependencies-{{ checksum "package.json" }}
41
+ - ~/.cache/yarn
35
42
36
43
# 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