ci: add lint for foundkey-js
This commit is contained in:
parent
6bccbc0d6d
commit
d8fd6d55ed
3 changed files with 24 additions and 2 deletions
|
@ -19,4 +19,4 @@ pipeline:
|
|||
- pull_request
|
||||
image: node:18.6.0
|
||||
commands:
|
||||
- yarn --cwd ./packages/backend lint
|
||||
- yarn workspaces backend run lint
|
||||
|
|
|
@ -19,4 +19,4 @@ pipeline:
|
|||
- pull_request
|
||||
image: node:18.6.0
|
||||
commands:
|
||||
- yarn --cwd ./packages/client lint
|
||||
- yarn workspaces client run lint
|
||||
|
|
22
.woodpecker/lint-foundkey-js.yml
Normal file
22
.woodpecker/lint-foundkey-js.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
clone:
|
||||
git:
|
||||
image: woodpeckerci/plugin-git
|
||||
settings:
|
||||
depth: 1 # CI does not need commit history
|
||||
recursive: true
|
||||
|
||||
pipeline:
|
||||
install:
|
||||
when:
|
||||
event:
|
||||
- pull_request
|
||||
image: node:18.6.0
|
||||
commands:
|
||||
- yarn install
|
||||
lint:
|
||||
when:
|
||||
event:
|
||||
- pull_request
|
||||
image: node:18.6.0
|
||||
commands:
|
||||
- yarn workspaces foundkey-js run lint
|
Loading…
Reference in a new issue