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
- publish
before_script:
- npm install
build:
stage: build
script:
- npm install
- npm run build
artifacts:
paths:
@@ -26,6 +24,7 @@ build:
test:
stage: test
script:
- npm install
- npm test
tags:
- docker