1
1
name : CI
2
2
on : [push, pull_request]
3
- env :
4
- NODE_VERSION_USED_FOR_DEVELOPMENT : 17
5
3
jobs :
6
4
save-github-event :
7
5
name : " Save `github.event` as an artifact to use in subsequent 'workflow_run' actions"
26
24
uses : actions/setup-node@v2
27
25
with :
28
26
cache : npm
29
- node-version : ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }}
27
+ node-version-file : ' .node-version '
30
28
31
29
- name : Install Dependencies
32
30
run : npm ci --ignore-scripts
75
73
uses : actions/setup-node@v2
76
74
with :
77
75
cache : npm
78
- node-version : ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }}
76
+ node-version-file : ' .node-version '
79
77
80
78
- name : Install Dependencies
81
79
run : npm ci --ignore-scripts
@@ -102,7 +100,7 @@ jobs:
102
100
- name : Setup Node.js
103
101
uses : actions/setup-node@v2
104
102
with :
105
- node-version : ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }}
103
+ node-version-file : ' .node-version '
106
104
# We install bunch of packages during integration tests without locking them
107
105
# so we skip cache action to not pollute cache for other jobs.
108
106
@@ -125,7 +123,7 @@ jobs:
125
123
uses : actions/setup-node@v2
126
124
with :
127
125
cache : npm
128
- node-version : ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }}
126
+ node-version-file : ' .node-version '
129
127
130
128
- name : Install Dependencies
131
129
run : npm ci --ignore-scripts
@@ -146,7 +144,7 @@ jobs:
146
144
uses : actions/setup-node@v2
147
145
with :
148
146
cache : npm
149
- node-version : ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }}
147
+ node-version-file : ' .node-version '
150
148
151
149
- name : Install Dependencies
152
150
run : npm ci --ignore-scripts
@@ -204,7 +202,7 @@ jobs:
204
202
uses : actions/setup-node@v2
205
203
with :
206
204
cache : npm
207
- node-version : ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }}
205
+ node-version-file : ' .node-version '
208
206
209
207
- name : Install Dependencies
210
208
run : npm ci --ignore-scripts
@@ -231,7 +229,7 @@ jobs:
231
229
uses : actions/setup-node@v2
232
230
with :
233
231
cache : npm
234
- node-version : ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }}
232
+ node-version-file : ' .node-version '
235
233
236
234
- name : Install Dependencies
237
235
run : npm ci --ignore-scripts
@@ -260,7 +258,7 @@ jobs:
260
258
uses : actions/setup-node@v2
261
259
with :
262
260
cache : npm
263
- node-version : ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }}
261
+ node-version-file : ' .node-version '
264
262
265
263
- name : Install Dependencies
266
264
run : npm ci --ignore-scripts
@@ -288,7 +286,7 @@ jobs:
288
286
uses : actions/setup-node@v2
289
287
with :
290
288
cache : npm
291
- node-version : ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }}
289
+ node-version-file : ' .node-version '
292
290
293
291
- name : Install Dependencies
294
292
run : npm ci --ignore-scripts
@@ -315,7 +313,7 @@ jobs:
315
313
uses : actions/setup-node@v2
316
314
with :
317
315
cache : npm
318
- node-version : ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }}
316
+ node-version-file : ' .node-version '
319
317
320
318
- name : Install Dependencies
321
319
run : npm ci --ignore-scripts
0 commit comments