doipjs/.woodpecker/.publish-npm.yml

14 lines
286 B
YAML
Raw Normal View History

2023-10-09 11:07:29 -06:00
when:
event: release
evaluate: 'CI_COMMIT_PRERELEASE != "true"'
2023-09-14 10:20:09 -06:00
steps:
publish:
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
2024-06-15 12:48:13 -06:00
- npm config set -- '//registry.npmjs.org/:_authToken' "$npm_token"
2024-06-15 12:55:06 -06:00
- npm publish --verbose
secrets: [ npm_token ]
2023-03-28 04:24:57 -06:00
depends_on:
- test