21 lines
325 B
YAML
21 lines
325 B
YAML
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 |