Compare commits

..

2 Commits

3 changed files with 20 additions and 19 deletions

View File

@ -1,19 +0,0 @@
pipeline:
lint:
when:
branch: [main, develop]
image: node:lts-alpine
commands:
- yarn install
- yarn lint
publish:
when:
event: tag
tag: v*
branch: [main, develop]
image: node:lts-alpine
commands:
- yarn publish --non-interactive
secrets: [ node_auth_token ]

11
.woodpecker/.deploy.yml Normal file
View File

@ -0,0 +1,11 @@
pipeline:
deploy:
when:
event: tag
tag: v*
image: node:lts-alpine
commands:
- yarn publish --non-interactive
secrets: [ node_auth_token ]
depends_on:
- lint

9
.woodpecker/.lint.yml Normal file
View File

@ -0,0 +1,9 @@
pipeline:
lint:
when:
branch: [main, develop]
image: node:lts-alpine
commands:
- yarn install
- yarn lint