Skip to content
Snippets Groups Projects
Commit 6efeee98 authored by Chris Hines's avatar Chris Hines
Browse files

update nodejs install method

parent 7b911cf3
No related branches found
No related tags found
2 merge requests!114Revert "Add MLeRP Monash",!113Revert "Add MLeRP Monash"
Pipeline #99055 failed
......@@ -10,8 +10,10 @@ build:
stage: build
script:
- apt update
- apt install -y curl gnupg
- curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
- apt install -y ca-certificates curl gnupg
- mkdir -p /etc/apt/keyrings
- curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
- echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
- apt update
- apt install -y nodejs
- rm ./package-lock.json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment