Skip to content

Commit

Permalink
Migrate react warning test
Browse files Browse the repository at this point in the history
  • Loading branch information
cniackz committed Aug 25, 2022
1 parent 06c282d commit 8defc0f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ jobs:
no-warnings-and-make-assets:
name: "React Code Has No Warnings & is Prettified, then Make Assets"
runs-on: ${{ matrix.os }}
runs-on: self-hosted
strategy:
matrix:
go-version: [ 1.18.x, 1.19.x ]
Expand Down Expand Up @@ -330,6 +330,20 @@ jobs:
working-directory: ./portal-ui
continue-on-error: false
run: |
# Install yarn on self-hosted runner due to:
# https://github.com/actions/setup-node/issues/182
apt remove -y nodejs || true
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
apt-get install -y nodejs
apt remove -y cmdtest
apt remove -y yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
apt-get update
apt-get install -y yarn
echo "yarn install"
yarn install
- name: Check for Warnings in build output
working-directory: ./portal-ui
Expand Down

0 comments on commit 8defc0f

Please sign in to comment.