@spbrewery/log
Version:
A Simplified Multi-transport and Structured Logging Library for Brewery Project
39 lines (33 loc) • 583 B
YAML
image: node:latest
stages:
- build
- test
- publish
variables:
OPENSHIFT_SERVER: ip-10-0-1-198.ec2.internal
OPENSHIFT_DOMAIN: 52.23.233.62.xip.ioa
build:
stage: build
script:
- npm install
artifacts:
paths:
- node_modules/
test:
stage: test
script:
- npm test
artifacts:
paths:
- coverage/
publish:
stage: publish
when: manual
script:
- echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'>.npmrc
- npm publish
environment:
name: npmjs
url: https://www.npmjs.com/package/brewery-log
only:
- master