Commit 4e2fa43e authored by Gijs Alberts's avatar Gijs Alberts
Browse files

Merge branch 'npm' into 'master'

use npm to download/update node modules instead of downloading artifact from CI pipeline for Linux-x64

See merge request !132
parents 02d46e2f 5140a602
Pipeline #58411 passed with stage
in 9 minutes and 30 seconds
......@@ -2,12 +2,10 @@
set -e
mkdir -p target/clean-lib-itasks
# Download node_modules from GitLab
(cd src/itasks-sdk-master
curl -L -o node_modules.zip https://gitlab.com/clean-and-itasks/itasks-sdk/-/jobs/artifacts/master/download?job=npm
unzip node_modules.zip
rm node_modules.zip
)
# Update node modules
curl -sL https://deb.nodesource.com/setup_16.x | bash -
apt-get install -qq -y nodejs
(cd src/itasks-sdk-master/Libraries; npm ci)
# Add libraries
mkdir -p target/clean-lib-itasks/lib
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment