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:
- test
- release
- trigger
- pages
testLEGACY:
stage: test
@ -28,10 +30,30 @@ testSTABLE:
release:
stage: release
environment: npm_registry
script:
- npmci publish
only:
- tags
tags:
- 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