Installs cli and devkit globally before the test runs

parent 9810816e
......@@ -42,7 +42,9 @@ npm_test:
- echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
- apt-get -y update
- apt-get -y install google-chrome-stable
- ./node_modules/@angular/cli/bin/ng test --browsers=ChromeHeadless --watch=false --source-map=false
- npm install -g @angular/cli@6.0.3
- npm install -g @angular-devkit/build-angular@0.6.3
- npm test
build:
stage: build
......
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