pipeline:
prepare:
when:
branch: main
event: tag
image: node
commands:
- yarn --pure-lockfile
- yarn run prepare
publish-npm:
image: plugins/npm
settings:
username: yarmo_eu
token:
from_secret: npm_token
email:
from_secret: npm_email
depends_on:
- test