ci: make npm install explicit for jobs that need it

This commit is contained in:
Karl-Philipp Wulfert
2021-04-27 15:23:44 +02:00
committed by Rainer Killinger
parent f59cc5832c
commit ab9168cb24
+2 -3
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