File tree 1 file changed +61
-0
lines changed
1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2.1
2
+
3
+ commands :
4
+ test :
5
+ steps :
6
+ - run :
7
+ name : Versions
8
+ command : npm version
9
+ - checkout
10
+ - restore_cache :
11
+ keys :
12
+ - {{ checksum "yarn.lock" }}
13
+ - run :
14
+ name : Install dependencies
15
+ command : yarn install
16
+ - run :
17
+ name : Audit dependencies
18
+ command : yarn audit
19
+ - run :
20
+ name : Build packages
21
+ command : yarn build
22
+ - run :
23
+ name : Lint project
24
+ command : yarn lint
25
+ - run :
26
+ name : Check dependencies
27
+ command : yarn deps
28
+ - run :
29
+ name : Test
30
+ command : yarn test
31
+ - save-npm-cache
32
+ save-npm-cache :
33
+ steps :
34
+ - save_cache :
35
+ key : v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "yarn.lock" }}
36
+ paths :
37
+ - node_modules
38
+
39
+ jobs :
40
+ node-v6 :
41
+ docker :
42
+ - image : node:6
43
+ steps :
44
+ - test
45
+ node-v8 :
46
+ docker :
47
+ - image : node:8
48
+ steps :
49
+ - test
50
+ node-v10 :
51
+ docker :
52
+ - image : node:10
53
+ steps :
54
+ - test
55
+
56
+ workflows :
57
+ node-multi-build :
58
+ jobs :
59
+ - node-v6
60
+ - node-v8
61
+ - node-v10
You can’t perform that action at this time.
0 commit comments