File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ jobs:
278
278
279
279
no-warnings-and-make-assets :
280
280
name : " React Code Has No Warnings & is Prettified, then Make Assets"
281
- runs-on : ${{ matrix.os }}
281
+ runs-on : self-hosted
282
282
strategy :
283
283
matrix :
284
284
go-version : [ 1.18.x, 1.19.x ]
@@ -330,6 +330,20 @@ jobs:
330
330
working-directory : ./portal-ui
331
331
continue-on-error : false
332
332
run : |
333
+
334
+ # Install yarn on self-hosted runner due to:
335
+ # https://github.com/actions/setup-node/issues/182
336
+ apt remove -y nodejs || true
337
+ curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
338
+ apt-get install -y nodejs
339
+ apt remove -y cmdtest
340
+ apt remove -y yarn
341
+ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
342
+ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
343
+ apt-get update
344
+ apt-get install -y yarn
345
+
346
+ echo "yarn install"
333
347
yarn install
334
348
- name : Check for Warnings in build output
335
349
working-directory : ./portal-ui
You can’t perform that action at this time.
0 commit comments