From fd32fff30a222b2e822823806712ef0ffe048323 Mon Sep 17 00:00:00 2001 From: Marius David Wieschollek Date: Sat, 8 Jun 2019 20:43:48 +0200 Subject: Don't share npm_modules --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c3ae86f..12063f3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,11 +6,10 @@ stages: Install: stage: prepare script: - - npm install - mkdir dist artifacts: paths: - - ./node_modules + - ./dist Compile Firefox: stage: compiling @@ -22,12 +21,12 @@ Compile Firefox: - mv build dist/firefox-extension artifacts: paths: - - ./node_modules - ./dist Compile Chrome: stage: compiling script: + - npm install - npm run build:chrome - if [ "${CI_COMMIT_REF_NAME}" == "stable" ] ; then sed -i -e "s/-BUILD//g" ./build/manifest.json ; fi - if [ "${CI_COMMIT_REF_NAME}" != "stable" ] ; then sed -i -e "s/-BUILD/-build${CI_PIPELINE_ID}/g" ./build/manifest.json ; fi -- cgit v1.2.3