doipjs/.woodpecker/.publish-npm-prerelease.yml
2024-06-15 20:21:22 +02:00

14 lines
No EOL
310 B
YAML

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