16 lines
307 B
YAML
16 lines
307 B
YAML
|
pipeline:
|
||
|
deploy:
|
||
|
when:
|
||
|
event: tag
|
||
|
tag: "@flaschengeist/api-v*"
|
||
|
image: node:lts-alpine
|
||
|
commands:
|
||
|
- cd api
|
||
|
- echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > .npmrc
|
||
|
- yarn publish --non-interactive
|
||
|
secrets: [ node_auth_token ]
|
||
|
|
||
|
depends_on:
|
||
|
- lint
|
||
|
|