diff options
author | Marius David Wieschollek <passwords.public@mdns.eu> | 2019-06-08 21:43:48 +0300 |
---|---|---|
committer | Marius David Wieschollek <passwords.public@mdns.eu> | 2019-06-08 21:43:48 +0300 |
commit | fd32fff30a222b2e822823806712ef0ffe048323 (patch) | |
tree | 6a1cf8b793fa86dac1c4b665b05852bf642e49d5 /.gitlab-ci.yml | |
parent | f49240ab73ec22de21291d6d44bf36deb6191146 (diff) |
Don't share npm_modules
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 2 insertions, 3 deletions
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 |