Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marius-wieschollek/passwords-webextension.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius David Wieschollek <passwords.public@mdns.eu>2019-06-08 21:43:48 +0300
committerMarius David Wieschollek <passwords.public@mdns.eu>2019-06-08 21:43:48 +0300
commitfd32fff30a222b2e822823806712ef0ffe048323 (patch)
tree6a1cf8b793fa86dac1c4b665b05852bf642e49d5 /.gitlab-ci.yml
parentf49240ab73ec22de21291d6d44bf36deb6191146 (diff)
Don't share npm_modules
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
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