From bccffe30f30a1851bbca63fd04e0824c34f8a8ba Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Mon, 11 Feb 2019 10:23:25 +1100 Subject: [PATCH] use a modern npm --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 23b9536..703ba14 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,8 +4,9 @@ stages: test: stage: test script: + - curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - - apt update - - apt install -y npm + - apt install -y nodejs npm - rm ./package-lock.json - - npm install -u + - npm install - ./node_modules/@angular/cli/bin/ng build --prod --base-href=/sv2/ -- GitLab