File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ jobs :
3
+ lint :
4
+ docker :
5
+ - image : circleci/node:latest
6
+ steps :
7
+ - checkout
8
+ - restore_cache :
9
+ keys :
10
+ - v1-dependencies-{{ checksum "package.json" }}
11
+ - run : npm install
12
+ - save_cache :
13
+ paths :
14
+ - node_modules
15
+ key : v1-dependencies-{{ checksum "package.json" }}
16
+ - run : npm run lint
17
+ test :
18
+ docker :
19
+ - image : circleci/node:latest
20
+ working_directory : ~/repo
21
+ steps :
22
+ - checkout
23
+ - restore_cache :
24
+ keys :
25
+ - v1-dependencies-{{ checksum "package.json" }}
26
+ - run : npm install
27
+ - save_cache :
28
+ paths :
29
+ - node_modules
30
+ key : v1-dependencies-{{ checksum "package.json" }}
31
+ - run : npm test -- --coverage && bash <(curl -s https://codecov.io/bash)
32
+ workflows :
33
+ version : 2
34
+ build_and_test :
35
+ jobs :
36
+ - lint
37
+ - test
You can’t perform that action at this time.
0 commit comments