From ab9168cb245316819bdc505bbae7cbd3df737445 Mon Sep 17 00:00:00 2001 From: Karl-Philipp Wulfert Date: Thu, 21 Feb 2019 16:26:23 +0100 Subject: [PATCH] ci: make npm install explicit for jobs that need it --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3fd3efa8..aaad5299 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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