use nodesource curl
Some checks failed
/ build-test (pull_request) Failing after 1m57s

This commit is contained in:
Antoine Martin 2024-08-23 17:32:54 -04:00
parent 7aff5cf496
commit 0d222eea9b
Signed by: ayakael
GPG key ID: D62A472A4AA7D541

View file

@ -16,11 +16,9 @@ jobs:
run: | run: |
apt-get update apt-get update
apt-get install -y $build_deps apt-get install -y $build_deps
curl -JO https://deb.nodesource.com/gpgkey/nodesource.gpg.key curl -sL https://deb.nodesource.com/setup_16.x | bash -
gpg --dearmor -o /usr/share/keyrings/nodesource-archive-keyring.gpg nodesource.gpg.key
echo "deb [signed-by=/usr/share/keyrings/nodesource-archive-keyring.gpg] https://deb.nodesource.com/node_16.x $(lsb_release -c -s) main" > /etc/apt/sources.list.d/nodesource.list
apt-get update apt-get update
apt-get install -y nodejs npm apt-get install -y nodejs
npm install -g pkg grunt grunt-cli npm install -g pkg grunt grunt-cli
- name: Getting patches - name: Getting patches
uses: actions/checkout@v4 uses: actions/checkout@v4