ci: make npm install explicit for jobs that need it

This commit is contained in:
Karl-Philipp Wulfert
2019-02-21 16:26:23 +01:00
committed by Rainer Killinger
parent f59cc5832c
commit ab9168cb24

View File

@@ -10,12 +10,10 @@ stages:
- test - test
- publish - publish
before_script:
- npm install
build: build:
stage: build stage: build
script: script:
- npm install
- npm run build - npm run build
artifacts: artifacts:
paths: paths:
@@ -26,6 +24,7 @@ build:
test: test:
stage: test stage: test
script: script:
- npm install
- npm test - npm test
tags: tags:
- docker - docker