Update build.yml

This commit is contained in:
Preston 2020-07-12 11:54:12 -04:00 committed by GitHub
parent 68f84b3c54
commit 2ce327d345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -48,11 +48,14 @@ jobs:
uses: uraimo/run-on-arch-action@v1.0.9 uses: uraimo/run-on-arch-action@v1.0.9
with: with:
architecture: aarch64 architecture: aarch64
distribution: ubuntu18.04 distribution: ubuntu20.04
run: | run: |
apt install -y curl
curl -sL https://rpm.nodesource.com/setup_lts.x | bash -
apt update apt update
apt install -y snapd apt install -y nodejs
snap install node apt install -y build-essential
apt install -y npm
npm install npm install
npm run lint npm run lint
npm run build --if-present npm run build --if-present