From 65ab58f7272758c841be55da3594ceeb139a550b Mon Sep 17 00:00:00 2001 From: PhilKunz Date: Wed, 28 Sep 2016 20:22:05 +0200 Subject: [PATCH] ad gitlab.yml --- .gitlab-ci.yml | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..b6d5c52 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,49 @@ +image: hosttoday/ht-docker-node:npmts + +stages: +- test +- release +- page + +testLEGACY: + stage: test + script: + - npmci test legacy + tags: + - docker + +testLTS: + stage: test + script: + - npmci test lts + tags: + - docker + +testSTABLE: + stage: test + script: + - npmci test stable + tags: + - docker + +release: + stage: release + environment: npmjs-com_registry + script: + - npmci publish + only: + - tags + tags: + - docker + +pages: + image: hosttoday/ht-docker-node:npmpage + stage: page + script: + - npmci command npmpage --host gitlab + only: + - tags + artifacts: + expire_in: 1 week + paths: + - public \ No newline at end of file