kind: pipeline
name: default
steps:
- name: build
image: node
commands:
- yarn install
- yarn run build
- name: publish
image: plugins/npm
settings:
username:
from_secret: NPM_USERNAME
password:
from_secret: NPM_PASSWORD
email:
from_secret: NPM_EMAIL
when:
event:
- tag