@4geit/swg-template
Version:
Scaffold the code base of a swagger-node reusable path, operation, definition, model or helper.
20 lines (19 loc) • 428 B
YAML
stages:
- test
- release
test:
stage: test
image: node:alpine
before_script:
- yarn
script:
- npm test
only:
- master@4geit/swagger/swg-allow-cross-domain-helper
release:
stage: release
image: registry.gitlab.com/4geit/docker/semantic-release-gitlab
script:
- DEBUG=* semantic-release-gitlab && DEBUG=* npm-publish-git-tag --access public
only:
- master@4geit/swagger/swg-<NAME>-<TYPE>