File tree 3 files changed +76
-17
lines changed
3 files changed +76
-17
lines changed Original file line number Diff line number Diff line change
1
+ workflows :
2
+ version : 2
3
+ node-multi-build :
4
+ jobs :
5
+ - node-v6
6
+ - node-v8
7
+ - node-v10
8
+ - node-v10-minimal
9
+
10
+ version : 2
11
+ jobs :
12
+ node-base : &node-base
13
+ docker :
14
+ - image : node
15
+ steps :
16
+ - run :
17
+ name : Versions
18
+ command : npm version
19
+ - checkout
20
+ - restore_cache :
21
+ keys :
22
+ - v2-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
23
+ - v2-npm-lock-master-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
24
+ - v2-npm-cache-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}
25
+ - v2-npm-cache-master-{{ .Environment.CIRCLE_JOB }}
26
+ - run :
27
+ name : Install dependencies
28
+ command : npm install
29
+ - run :
30
+ name : Test
31
+ command : npm test
32
+ - save_cache :
33
+ key : v2-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
34
+ paths :
35
+ - node_modules
36
+
37
+ node-v6 :
38
+ << : *node-base
39
+ docker :
40
+ - image : node:6
41
+ node-v8 :
42
+ << : *node-base
43
+ docker :
44
+ - image : node:8
45
+ node-v10 :
46
+ << : *node-base
47
+ docker :
48
+ - image : node:10
49
+ node-v10-minimal :
50
+ steps :
51
+ - run :
52
+ name : Versions
53
+ command : npm version
54
+ - checkout
55
+ - restore_cache :
56
+ keys :
57
+ - v2-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
58
+ - v2-npm-lock-master-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
59
+ - v2-npm-cache-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}
60
+ - v2-npm-cache-master-{{ .Environment.CIRCLE_JOB }}
61
+ - run :
62
+ name : Install dependencies
63
+ command : npm install
64
+ - run :
65
+ name : Install eslint 5
66
+ command :
npm install [email protected] --no-save
67
+ - run :
68
+ name : Test
69
+ command : npm test
70
+ - save_cache :
71
+ key : v2-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
72
+ paths :
73
+ - node_modules
74
+ docker :
75
+ - image : node:10
76
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 52
52
"chai" : " ^4.1.0" ,
53
53
"eslint" : " ^5.2.0" ,
54
54
"eslint-plugin-eslint-plugin" : " ^1.4.0" ,
55
- "eslint-plugin-html" : " ^4.0.1" ,
56
55
"eslint-plugin-vue-libs" : " ^3.0.0" ,
57
56
"lodash" : " ^4.17.4" ,
58
57
"mocha" : " ^5.2.0" ,
You can’t perform that action at this time.
0 commit comments