doipjs/.woodpecker/.publish-npm.yml

23 lines
333 B
YAML
Raw Normal View History

2023-10-09 11:07:29 -06:00
when:
branch: main
event: tag
2023-09-14 10:20:09 -06:00
steps:
2023-03-28 04:24:57 -06:00
prepare:
2024-06-02 06:17:54 -06:00
image: node:20
2023-03-28 04:24:57 -06:00
commands:
2024-06-02 06:02:10 -06:00
- npm ci
2023-03-28 04:24:57 -06:00
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