doipjs/.woodpecker/publish-npm-prerelease.yml

14 lines
308 B
YAML
Raw Normal View History

when:
event: release
evaluate: 'CI_COMMIT_PRERELEASE == "true"'
steps:
publish-prerelease:
image: node:20
commands:
- npm ci
2024-06-15 12:48:13 -06:00
- npm config set -- '//registry.npmjs.org/:_authToken' "$npm_token"
- npm publish --verbose --tag next
secrets: [ npm_token ]
depends_on:
- test