smartnginx/.gitlab-ci.yml

29 lines
410 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 publish
only:
- tags
tags:
- docker