mission.common
Version:
Request and Response dto object
25 lines (24 loc) • 796 B
YAML
# This is a sample build configuration for Javascript (Node.js).
# Check our guides at https://confluence.atlassian.com/x/14UWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: node:19.1.0
pipelines:
branches:
master:
- step:
script:
- npm install
- npm run build
- mv .npmrc_config .npmrc
- npm publish .
default:
- step:
script:
- npm install
- npm run build.prod
- mv .npmrc_config .npmrc
- npm install json -g
- json -I -f package.json -e 'this.version=this.version.split("-")[0]+"-dev."+Date.now()'
- npm publish . --tag next