Feliday-js-client/.woodpecker.yml

21 lines
382 B
YAML
Raw Normal View History

pipeline:
yarn:
image: node:alpine
commands:
- yarn
yarn_lint:
image: node:alpine
commands:
- yarn lint
npm_publish:
image: node:alpine
commands:
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
- echo "email = tyhou13@gmx.com" >> ~/.npmrc
- npm publish
secrets: [npm_token]
when:
event: tag