@@ -10,20 +10,13 @@ permissions:
10
10
contents : read
11
11
12
12
jobs :
13
- audit :
14
- runs-on : ubuntu-latest
15
- steps :
16
- - uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
17
- - uses : actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3
18
- with :
19
- node-version : ' lts/*'
20
- registry-url : https://registry.npmjs.org/
21
- cache : ' npm'
22
- - run : npm ci
23
- - run : npm run audit
13
+ # #################
14
+ # Jobs with matrix
15
+ # #################
24
16
unit :
25
17
runs-on : ubuntu-latest
26
18
strategy :
19
+ fail-fast : false
27
20
matrix :
28
21
node-version : [14, 'lts/*']
29
22
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
@@ -37,20 +30,10 @@ jobs:
37
30
cache : ' npm'
38
31
- run : npm ci
39
32
- run : npm run unit
40
- coverage :
41
- runs-on : ubuntu-latest
42
- steps :
43
- - uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
44
- - uses : actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3
45
- with :
46
- node-version : ' lts/*'
47
- registry-url : https://registry.npmjs.org/
48
- cache : ' npm'
49
- - run : npm ci
50
- - run : npm run coverage
51
33
integration :
52
34
runs-on : ubuntu-latest
53
35
strategy :
36
+ fail-fast : false
54
37
matrix :
55
38
node-version : [14, 'lts/*']
56
39
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
69
52
cache : ' npm'
70
53
- run : npm ci
71
54
- run : APIURL=http://127.0.0.1:8080/1 npm run integration
55
+
56
+
57
+
58
+ # ####################
59
+ # Jobs without matrix
60
+ # ####################
61
+ audit :
62
+ runs-on : ubuntu-latest
63
+ steps :
64
+ - uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
65
+ - uses : actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3
66
+ with :
67
+ node-version : ' lts/*'
68
+ registry-url : https://registry.npmjs.org/
69
+ cache : ' npm'
70
+ - run : npm ci
71
+ - run : npm run audit
72
+ coverage :
73
+ runs-on : ubuntu-latest
74
+ steps :
75
+ - uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
76
+ - uses : actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3
77
+ with :
78
+ node-version : ' lts/*'
79
+ registry-url : https://registry.npmjs.org/
80
+ cache : ' npm'
81
+ - run : npm ci
82
+ - run : npm run coverage
72
83
format :
73
84
runs-on : ubuntu-latest
74
85
steps :
@@ -93,32 +104,22 @@ jobs:
93
104
- run : npm run gitdiff:ci
94
105
lint :
95
106
runs-on : ubuntu-latest
96
- strategy :
97
- matrix :
98
- node-version : [14, 'lts/*']
99
- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
100
107
steps :
101
108
- uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
102
- - name : Use Node.js ${{ matrix.node-version }}
103
- uses : actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3
109
+ - uses : actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3
104
110
with :
105
- node-version : ${{ matrix.node-version }}
111
+ node-version : ' lts/* '
106
112
registry-url : https://registry.npmjs.org/
107
113
cache : ' npm'
108
114
- run : npm ci
109
115
- run : npm run lint
110
116
lint-tests :
111
117
runs-on : ubuntu-latest
112
- strategy :
113
- matrix :
114
- node-version : [14, 'lts/*']
115
- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
116
118
steps :
117
119
- uses : actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
118
- - name : Use Node.js ${{ matrix.node-version }}
119
- uses : actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3
120
+ - uses : actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3
120
121
with :
121
- node-version : ${{ matrix.node-version }}
122
+ node-version : ' lts/* '
122
123
registry-url : https://registry.npmjs.org/
123
124
cache : ' npm'
124
125
- run : npm ci
0 commit comments