File tree 1 file changed +24
-55
lines changed
1 file changed +24
-55
lines changed Original file line number Diff line number Diff line change @@ -2,64 +2,33 @@ version: 2.1
2
2
orbs :
3
3
node : circleci/node@4.1.0
4
4
jobs :
5
- node14 :
5
+ test :
6
6
executor :
7
7
name : node/default
8
- tag : ' 14.15.4'
8
+ parameters :
9
+ os :
10
+ type : string
11
+ node-version :
12
+ type : string
9
13
steps :
10
14
- checkout
11
- - node/with-cache :
12
- steps :
13
- - run : npm install
14
- - run : npm test
15
- - run :
16
- name : code-coverage
17
- command : ' bash <(curl -s https://codecov.io/bash)'
18
- node12 :
19
- executor :
20
- name : node/default
21
- tag : ' 12.20.1'
22
- steps :
23
- - checkout
24
- - node/with-cache :
25
- steps :
26
- - run : npm install
27
- - run : npm test
28
- node10 :
29
- executor :
30
- name : node/default
31
- tag : ' 10.23.1'
32
- steps :
33
- - checkout
34
- - node/with-cache :
35
- steps :
36
- - run : npm install
37
- - run : npm test
38
- node8 :
39
- executor :
40
- name : node/default
41
- tag : ' 8.17.0'
42
- steps :
43
- - checkout
44
- - node/with-cache :
45
- steps :
46
- - run : npm install
47
- - run : npm test
48
- node6 :
49
- executor :
50
- name : node/default
51
- tag : ' 6.17.1'
52
- steps :
53
- - checkout
54
- - node/with-cache :
55
- steps :
56
- - run : npm install
57
- - run : npm test
15
+ - node/install-packages
16
+ - run : npm test
17
+ - run :
18
+ name : code-coverage
19
+ command : ' bash <(curl -s https://codecov.io/bash)'
20
+
58
21
workflows :
59
- build-and-test :
22
+ build :
60
23
jobs :
61
- - node14
62
- - node12
63
- - node10
64
- - node8
65
- - node6
24
+ - test :
25
+ matrix :
26
+ parameters :
27
+ os :
28
+ - docker
29
+ node-version :
30
+ - ' 6.17.1'
31
+ - ' 8.17.0'
32
+ - ' 10.23.1'
33
+ - ' 12.20.1'
34
+ - ' 14.15.4'
You can’t perform that action at this time.
0 commit comments