when:
branch: main
event: tag
steps:
prepare:
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