release v2.0.0 #4
|
@ -0,0 +1,3 @@
|
|||
yarn-error.log
|
||||
.woodpecker/
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
pipeline:
|
||||
deploy:
|
||||
when:
|
||||
event: tag
|
||||
tag: "@flaschengeist/api-v*"
|
||||
image: node:lts-alpine
|
||||
commands:
|
||||
- cd api
|
||||
- echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > .npmrc
|
||||
- yarn publish --non-interactive
|
||||
secrets: [ node_auth_token ]
|
||||
|
||||
depends_on:
|
||||
- lint
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
pipeline:
|
||||
lint:
|
||||
when:
|
||||
branch: [main, develop]
|
||||
image: node:lts-alpine
|
||||
commands:
|
||||
- yarn install
|
||||
- yarn lint
|
||||
|
Loading…
Reference in New Issue