From December 8 to December 10 the underlying cloud platform running GitLab CI jobs is being extended and thus, is unavailable. We do our best to compensate this with other resources but it might happen that you experience extended startup times for your CI jobs. Thanks for your understanding!

Verified Commit 2e0791d7 authored by Huste, Tobias (FWCC) - 111645's avatar Huste, Tobias (FWCC) - 111645
Browse files

ci: make sure npm is installed in tests

Also update node to version 10.
parent e98aab55
Pipeline #111821 failed with stages
in 6 minutes and 45 seconds
......@@ -33,8 +33,8 @@ before_script:
- apt-get update
- apt-get install -qy sshpass
# install npm
- curl -sL https://deb.nodesource.com/setup_6.x | bash -
- apt-get -qy install --fix-missing --no-install-recommends nodejs
- curl -sL https://deb.nodesource.com/setup_10.x | bash -
- apt-get -qy install --fix-missing nodejs
# add host key of sftp to known_hosts (don't do it like this in production systems (MITM))
- mkdir ~/.ssh && touch ~/.ssh/known_hosts && chmod 600 ~/.ssh/known_hosts
- ssh-keyscan -H sftp >> ~/.ssh/known_hosts
......
......@@ -33,7 +33,7 @@ export FLASK_APP=app.py
mkdir $DIR/instance
# install dependencies
npm install -g node-sass clean-css@3 requirejs uglify-js
npm install -g --unsafe-perm node-sass clean-css@3 requirejs uglify-js
# install assets
flask npm
......
Markdown is supported
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