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 - 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