lemmy-js-client/.woodpecker.yml
Dessalines cb4f97f610
Use steps instead of pipeline for CI. (#235)
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-01-24 18:11:20 -05:00

20 lines
379 B
YAML

steps:
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