Update .gitlab-ci.yml

This commit is contained in:
Gregor Kleen 2019-11-08 09:45:38 +01:00
parent 4dfc3795b5
commit 2979e40f21

View File

@ -6,6 +6,8 @@ default:
paths: paths:
- .stack - .stack
- .stack-work - .stack-work
- node_modules
- static/bundles
variables: variables:
STACK_ROOT: "${CI_PROJECT_DIR}/.stack" STACK_ROOT: "${CI_PROJECT_DIR}/.stack"
@ -23,6 +25,8 @@ container setup:
- apt-get update - apt-get update
- apt-get install -y --no-install-recommends build-essential nodejs chromium-browser - apt-get install -y --no-install-recommends build-essential nodejs chromium-browser
- ln -s $(which g++-7) $(dirname $(which g++-7))/g++ - ln -s $(which g++-7) $(dirname $(which g++-7))/g++
- npm install -g n
- n stable
npm install: npm install:
stage: setup stage: setup