doipjs/.woodpecker/.publish-npm.yml

24 lines
384 B
YAML
Raw Permalink Normal View History

2023-03-28 04:24:57 -06:00
pipeline:
prepare:
when:
2023-03-28 05:11:42 -06:00
branch: main
2023-03-28 04:24:57 -06:00
event: tag
image: node
commands:
- yarn --pure-lockfile
- yarn run prepare
publish-npm:
when:
2023-03-28 05:11:42 -06:00
branch: main
2023-03-28 04:24:57 -06:00
event: tag
image: plugins/npm
settings:
username: yarmo_eu
token:
from_secret: npm_token
email:
from_secret: npm_email
depends_on:
- test