@@ -48,20 +48,26 @@ jobs:
48
48
restore-keys : |
49
49
${{ runner.os }}-ivy-
50
50
51
- - name : Read .nvmrc
52
- run : echo ::set-output name=NVMRC::$(cat .nvmrc)
53
- id : nvm
54
-
55
51
- name : Setup node
56
52
uses : actions/setup-node@v3
57
53
with :
58
- node-version : " ${{ steps.nvm.outputs.NVMRC }} "
54
+ node-version-file : ' .nvmrc '
59
55
60
- - name : Set up JDK 1.8
56
+ - name : Set up JDK 11
61
57
uses : actions/setup-java@v3
62
58
with :
63
59
distribution : adopt
64
- java-version : 8
60
+ java-version : 11
61
+
62
+ - name : Install node dependencies (oeq-rest-api)
63
+ working-directory : oeq-ts-rest-api
64
+ run : |
65
+ npm ci
66
+
67
+ - name : Build oEQ REST module (oeq-rest-api)
68
+ working-directory : oeq-ts-rest-api
69
+ run : |
70
+ npm run build
65
71
66
72
- name : Install node dependencies (core)
67
73
working-directory : react-front-end
@@ -117,7 +123,7 @@ jobs:
117
123
target/*.zip
118
124
119
125
- name : Save primary artefacts
120
-
126
+
121
127
with :
122
128
name : Artefacts
123
129
path : artefacts.tar
@@ -137,14 +143,20 @@ jobs:
137
143
restore-keys : |
138
144
${{ runner.os }}-npm.storybook-
139
145
140
- - name : Read .nvmrc
141
- run : echo ::set-output name=NVMRC::$(cat .nvmrc)
142
- id : nvm
143
-
144
146
- name : Setup node
145
147
uses : actions/setup-node@v3
146
148
with :
147
- node-version : " ${{ steps.nvm.outputs.NVMRC }}"
149
+ node-version-file : ' .nvmrc'
150
+
151
+ - name : Install node dependencies (oeq-rest-api)
152
+ working-directory : oeq-ts-rest-api
153
+ run : |
154
+ npm ci
155
+
156
+ - name : Build oEQ REST module (oeq-rest-api)
157
+ working-directory : oeq-ts-rest-api
158
+ run : |
159
+ npm run build
148
160
149
161
- name : Install node dependencies (core)
150
162
working-directory : react-front-end
@@ -162,7 +174,7 @@ jobs:
162
174
tar cvf storybook.tar storybook-static
163
175
164
176
- name : Save Static Storybook instance
165
-
177
+
166
178
with :
167
179
name : Storybook
168
180
path : react-front-end/storybook.tar
@@ -172,19 +184,19 @@ jobs:
172
184
steps :
173
185
- uses : actions/checkout@v3
174
186
175
- - name : Set up JDK 1.8
187
+ - name : Set up JDK 11
176
188
uses : actions/setup-java@v3
177
189
with :
178
190
distribution : adopt
179
- java-version : 8
191
+ java-version : 11
180
192
181
193
- name : Build
182
194
working-directory : import-export-tool
183
195
run : |
184
196
./gradlew build
185
197
186
198
- name : Save primary artefacts
187
-
199
+
188
200
with :
189
201
name : ImportExportTools
190
202
path : import-export-tool/build/libs/
@@ -197,7 +209,7 @@ jobs:
197
209
strategy :
198
210
matrix :
199
211
newui : [true, false]
200
- pgsql-image : [latest, 10 ]
212
+ pgsql-image : [latest, 12 ]
201
213
exclude :
202
214
- newui : false
203
215
pgsql-image : latest
@@ -232,22 +244,18 @@ jobs:
232
244
ffmpeg \
233
245
libimage-exiftool-perl
234
246
235
- - name : Set up JDK 1.8
247
+ - name : Set up JDK 11
236
248
uses : actions/setup-java@v3
237
249
with :
238
250
distribution : adopt
239
- java-version : 8
251
+ java-version : 11
240
252
241
253
- uses : actions/checkout@v3
242
254
243
- - name : Read .nvmrc
244
- run : echo ::set-output name=NVMRC::$(cat .nvmrc)
245
- id : nvm
246
-
247
255
- name : Setup node
248
256
uses : actions/setup-node@v3
249
257
with :
250
- node-version : " ${{ steps.nvm.outputs.NVMRC }} "
258
+ node-version-file : ' .nvmrc '
251
259
252
260
- name : Download Artefacts
253
261
uses : actions/download-artifact@v3
@@ -278,7 +286,7 @@ jobs:
278
286
279
287
- name : Save Scalacheck results
280
288
if : matrix.newui && failure()
281
-
289
+
282
290
with :
283
291
name : ScalacheckReports
284
292
path : autotest/Tests/target/test-reports
@@ -290,21 +298,21 @@ jobs:
290
298
291
299
- name : Save TestNG Reports
292
300
if : failure()
293
-
301
+
294
302
with :
295
303
name : TestNGReports-new-${{ matrix.newui }}
296
304
path : autotest/OldTests/target/testng
297
305
298
306
- name : Save oEQ Logs
299
307
if : failure()
300
-
308
+
301
309
with :
302
310
name : oEQLogs-new-${{ matrix.newui }}
303
311
path : autotest/equella-install/logs
304
312
305
313
- name : Save Screenshots
306
314
if : failure()
307
-
315
+
308
316
with :
309
317
name : Screenshots-new-${{ matrix.newui }}
310
318
path : autotest/Tests/target/test-reports/screenshots
@@ -322,7 +330,7 @@ jobs:
322
330
tar cvf coverage_report.tar autotest/target/coverage-report/
323
331
324
332
- name : Save Coverage Report
325
-
333
+
326
334
with :
327
335
name : CoverageReport-newui-${{ matrix.newui }}
328
336
path : coverage_report.tar
@@ -361,20 +369,16 @@ jobs:
361
369
ffmpeg \
362
370
libimage-exiftool-perl
363
371
364
- - name : Set up JDK 1.8
372
+ - name : Set up JDK 11
365
373
uses : actions/setup-java@v3
366
374
with :
367
375
distribution : adopt
368
- java-version : 8
369
-
370
- - name : Read .nvmrc
371
- run : echo ::set-output name=NVMRC::$(cat .nvmrc)
372
- id : nvm
376
+ java-version : 11
373
377
374
378
- name : Setup node
375
379
uses : actions/setup-node@v3
376
380
with :
377
- node-version : " ${{ steps.nvm.outputs.NVMRC }} "
381
+ node-version-file : ' .nvmrc '
378
382
379
383
- name : Download installer
380
384
uses : actions/download-artifact@v3
@@ -409,9 +413,7 @@ jobs:
409
413
410
414
- name : Save oEQ logs for REST Module
411
415
if : failure()
412
-
416
+
413
417
with :
414
418
name : oEQ-logs-rest-module
415
419
path : autotest/equella-install/logs
416
-
417
-
0 commit comments