add new ci file

This commit is contained in:
Philipp Kunz 2017-01-01 03:16:18 +01:00
parent 779c62dcbb
commit b276c5639d

View File

@ -3,6 +3,8 @@ image: hosttoday/ht-docker-node:npmts
stages: stages:
- test - test
- release - release
- trigger
- pages
testLEGACY: testLEGACY:
stage: test stage: test
@ -28,10 +30,30 @@ testSTABLE:
release: release:
stage: release stage: release
environment: npm_registry
script: script:
- npmci publish - npmci publish
only: only:
- tags - tags
tags: tags:
- docker - docker
trigger:
stage: trigger
script:
- npmci trigger
only:
- tags
tags:
- docker
pages:
image: hosttoday/ht-docker-node:npmpage
stage: pages
script:
- npmci command npmpage --publish gitlab
only:
- tags
artifacts:
expire_in: 1 week
paths:
- public