Update build.yml

This commit is contained in:
Preston 2020-07-12 19:06:44 -04:00 committed by GitHub
parent 04675e3ab0
commit b2e071ecb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -53,7 +53,11 @@ jobs:
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
export TZ=Europe/Kiev export TZ=Europe/Kiev
apt install -y curl apt install -y curl
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
VERSION=node_12.x
DISTRO="$(lsb_release -s -c)"
echo "deb https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee /etc/apt/sources.list.d/nodesource.list
echo "deb-src https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list
apt update apt update
apt install -y npm apt install -y npm
apt install -y nodejs apt install -y nodejs