Woodpecker CI: Add lint workflow

This commit is contained in:
Phantasm 2026-02-15 13:48:48 +01:00
commit 5213a827b6
No known key found for this signature in database
GPG key ID: 2669E588BCC634C8

31
.woodpecker/lint.yaml Normal file
View file

@ -0,0 +1,31 @@
when:
- event: pull_request
- event: push
branch: ${CI_REPO_DEFAULT_BRANCH}
- event: manual
branch: ${CI_REPO_DEFAULT_BRANCH}
steps:
install-depends:
image: &node-image
docker.io/node:18-alpine
commands:
- yarn
eslint:
image: *node-image
depends_on: install-depends
commands:
- yarn ci-eslint
biome:
image: *node-image
depends_on: install-depends
commands:
- yarn ci-biome
stylelint:
image: *node-image
depends_on: install-depends
commands:
- yarn ci-stylelint