Simplify NodeJs template

This commit is contained in:
jugendhacker 2022-09-14 13:03:40 +00:00 committed by Licaon_Kter
parent a69e8d13f4
commit b1998a510f

View file

@ -11,12 +11,10 @@ Builds:
sudo:
- sysctl fs.inotify.max_user_watches=524288
# Find the nodejs download URL at https://nodejs.org/en/download/releases/
- curl -Lo node.tar.gz https://nodejs.org/download/release/v14.18.2/node-v14.18.2-linux-x64.tar.gz
- curl -Lo node.tar.xz https://nodejs.org/download/release/v16.17.0/node-v16.17.0-linux-x64.tar.xz
# Find the checksum at https://nodejs.org/dist/v${VERSION}/SHASUMS256.txt.asc
- echo "83fa18a0e3642235446b66653eb27c169224ae9c1a15a32d6c3d9ddefb154ed4 node.tar.gz" | sha256sum -c -
- tar xf node.tar.gz
- cp -a node-v*-linux-x64/. /usr/local/
- rm -rf node-v*-linux-x64/
- echo "f0867d7a17a4d0df7dbb7df9ac3f9126c2b58f75450647146749ef296b31b49b node.tar.xz" | sha256sum -c -
- tar xJf node.tar.xz --strip-components=1 -C /usr/local/
# If you use yarn
- npm -g install yarn
init: