Update build.yml
This commit is contained in:
parent
b2e071ecb8
commit
1016d693e4
|
@ -53,13 +53,8 @@ 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 -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
|
curl -sL https://deb.nodesource.com/setup_12.x | bash
|
||||||
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 nodejs
|
apt install -y nodejs
|
||||||
node --version
|
node --version
|
||||||
npm install
|
npm install
|
||||||
|
|
Loading…
Reference in New Issue