From aa7c30a0966f7d0f416601ff8bf9ab68ef6763ad Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Fri, 30 Jun 2017 18:37:48 +0200 Subject: [PATCH] update ci --- .gitlab-ci.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1cfde96..e6be27f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,10 @@ # gitzone standard -image: hosttoday/ht-docker-node:npmts +image: hosttoday/ht-docker-node:npmci + +cache: + paths: + - .yarn/ + key: "$CI_BUILD_STAGE" stages: - test @@ -51,13 +56,17 @@ trigger: - docker pages: - image: hosttoday/ht-docker-node:npmpage + image: hosttoday/ht-docker-node:npmci stage: pages script: - - npmci command npmpage --publish gitlab + - npmci command yarn global add npmpage + - npmci command npmpage + tags: + - docker only: - tags artifacts: expire_in: 1 week paths: - public + allow_failure: true