From bb9015ded306684cbcb44eecc57a9633012c7354 Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Sat, 9 Feb 2019 08:31:14 +1100 Subject: [PATCH] try a pipeline --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..0157e73 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +image: trion/ng-cli-karma + +cache: + paths: + - node_modules/ + +deploy_stage: + stage: deploy + environment: Stage + only: + - master + script: + - rm ./package-lock.json + - npm install + - ./node_modules/@angular/cli/bin/ng build --progress false --prod --base-href=/sv2/ -- GitLab