From b2e071ecb86b0d9b29a4b870218d49fda62be761 Mon Sep 17 00:00:00 2001 From: Preston Date: Sun, 12 Jul 2020 19:06:44 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c0590e70..e5c4cc99 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,7 +53,11 @@ jobs: export DEBIAN_FRONTEND=noninteractive export TZ=Europe/Kiev 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 install -y npm apt install -y nodejs