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

ci: make sure npm is installed in tests

Also bump node version to 10.
parent fca4d61e
Pipeline #151324 failed with stages
in 3 minutes and 21 seconds
......@@ -28,8 +28,8 @@ variables:
POSTGRES_DB: test
before_script:
- 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
- pip install --upgrade pip setuptools py
- pip install twine wheel coveralls requirements-builder
- requirements-builder -e $EXTRAS --level=min setup.py > .ci-min-requirements.txt
......
......@@ -15,7 +15,7 @@ export FLASK_APP=app.py
mkdir $DIR/instance
# install dependencies
npm install -g node-sass clean-css@3 requirejs uglify-js webpack
npm install -g --unsafe-perm node-sass clean-css@3 requirejs uglify-js webpack
# install assets
flask npm
......
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