File tree 2 files changed +28
-14
lines changed
2 files changed +28
-14
lines changed Original file line number Diff line number Diff line change 1
1
version : 2.1
2
+ orbs :
3
+
2
4
jobs :
3
- build :
4
- docker :
5
- - image : circleci/node:14.15.1
5
+ test :
6
+ executor :
7
+ name : node/default
8
+ parameters :
9
+ os :
10
+ type : string
11
+ node-version :
12
+ type : string
6
13
steps :
7
14
- checkout
8
- - restore_cache :
9
- key : dependency-cache-{{ checksum "package.json" }}
10
- - run : npm install
11
- - save_cache :
12
- key : dependency-cache-{{ checksum "package.json" }}
13
- paths :
14
- - node_modules
15
- - run :
16
- name : test
17
- command : npm test
15
+ - node/install-packages
16
+ - run : npm test
18
17
- run :
19
18
name : code-coverage
20
19
command : ' bash <(curl -s https://codecov.io/bash)'
20
+
21
+ workflows :
22
+ build :
23
+ jobs :
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'
Original file line number Diff line number Diff line change 37
37
},
38
38
"main" : " src/index" ,
39
39
"engines" : {
40
- "node" : " ^14.15.1 "
40
+ "node" : " ^6.0 || ^8.0 || ^10.0 || ^12.0 || >=14 "
41
41
},
42
42
"scripts" : {
43
43
"test" : " npx jest" ,
You can’t perform that action at this time.
0 commit comments