doipjs/.woodpecker/publish-npm.yml
2024-11-18 10:03:24 +01:00

14 lines
No EOL
286 B
YAML

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