ci: add lint for foundkey-js

This commit is contained in:
Norm 2022-08-26 15:06:45 -04:00
parent 6bccbc0d6d
commit d8fd6d55ed
Signed by untrusted user: norm
GPG Key ID: 7123E30E441E80DE
3 changed files with 24 additions and 2 deletions

View File

@ -19,4 +19,4 @@ pipeline:
- pull_request
image: node:18.6.0
commands:
- yarn --cwd ./packages/backend lint
- yarn workspaces backend run lint

View File

@ -19,4 +19,4 @@ pipeline:
- pull_request
image: node:18.6.0
commands:
- yarn --cwd ./packages/client lint
- yarn workspaces client run lint

View 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