Johann150
a10b8875d9
Some checks failed
ci/woodpecker/push/lint-foundkey-js Pipeline failed
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/test Pipeline failed
Since PRs seem to be much rarer than pushes to main, it makes more sense to do it this way. Perhaps in the future, it would make sense to run it on all pushes, but the question would be how PRs are handled.
22 lines
393 B
YAML
22 lines
393 B
YAML
clone:
|
|
git:
|
|
image: woodpeckerci/plugin-git
|
|
settings:
|
|
depth: 1 # CI does not need commit history
|
|
recursive: true
|
|
|
|
pipeline:
|
|
install:
|
|
when:
|
|
branch: main
|
|
event: push
|
|
image: node:18.6.0
|
|
commands:
|
|
- yarn install
|
|
lint:
|
|
when:
|
|
branch: main
|
|
event: push
|
|
image: node:18.6.0
|
|
commands:
|
|
- yarn workspace backend run lint
|