smartnginx/.gitlab-ci.yml

27 lines
372 B
YAML

image: hosttoday/ht-docker-node:npmts
stages:
- test
- release
before_script:
- "apt-get update && apt-get install nginx -y"
testSTABLE:
stage: test
script:
- npmci npm test stable
only:
- tags
tags:
- docker
release:
stage: release
environment: npmjs-com_registry
script:
- npmci npm publish
only:
- tags
tags:
- docker