Files
landing/.woodpecker/lint.yaml
2026-01-31 12:33:34 -03:00

23 lines
654 B
YAML

# Lint workflow: install deps + run lint (shared workspace with build, test).
# Runs on pull requests, push/tag/manual on main, or manual from any branch.
when:
- event: pull_request
- event: push
branch: main
- event: tag
- event: manual
steps:
- name: install
image: node:20-alpine
commands:
- corepack enable && corepack prepare pnpm@10.28.2 --activate
- pnpm install --frozen-lockfile || pnpm install
- name: lint
image: node:20-alpine
commands:
- corepack enable && corepack prepare pnpm@10.28.2 --activate
- pnpm run lint
- pnpm run lint:css