smartnginx/.gitlab-ci.yml
2019-01-01 22:35:18 +01:00

30 lines
434 B
YAML

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