File tree Expand file tree Collapse file tree 1 file changed +22
-18
lines changed Expand file tree Collapse file tree 1 file changed +22
-18
lines changed Original file line number Diff line number Diff line change 1
1
version : 2.1
2
+
2
3
orbs :
3
4
cfa :
continuousauth/[email protected]
4
- jobs :
5
- test :
6
- docker :
7
- - image : cimg/node:14.21
8
- steps :
9
- - checkout
10
- - restore_cache :
11
- keys :
12
- - v1-dependencies-{{ checksum "yarn.lock" }}
13
- - v1-dependencies-
14
- - run : yarn install --ignore-engines
15
- - save_cache :
16
- paths :
17
- - node_modules
18
- key : v1-dependencies-{{ checksum "yarn.lock" }}
19
- - run : yarn prettier:check
20
- - run : yarn test
5
+ node :
electronjs/[email protected]
6
+
21
7
workflows :
22
8
test_and_release :
23
9
# Run the test jobs first, then the release only when all the test jobs are successful
24
10
jobs :
25
- - test
11
+ - node/test :
12
+ name : test-<< matrix.executor >>-<< matrix.node-version >>
13
+ override-ci-command : yarn install --frozen-lockfile --ignore-engines
14
+ test-steps :
15
+ - run : yarn prettier:check
16
+ - run : yarn test
17
+ use-test-steps : true
18
+ matrix :
19
+ alias : test
20
+ parameters :
21
+ executor :
22
+ - node/linux
23
+ - node/macos
24
+ - node/windows
25
+ node-version :
26
+ - ' 20.5'
27
+ - ' 18.17'
28
+ - ' 16.20'
29
+ - ' 14.21'
26
30
- cfa/release :
27
31
requires :
28
32
- test
You can’t perform that action at this time.
0 commit comments