Files
landing/.woodpecker/pr.yaml
2026-01-30 23:29:39 -03:00

17 lines
460 B
YAML

# PR pipeline: lint, test, and test build on the branch.
# Runs when a pull request is opened or updated.
# Does not build Docker image or deploy.
when:
event: pull_request
steps:
- name: lint-and-build
image: node:20-alpine
commands:
- corepack enable && corepack prepare pnpm@10.28.2 --activate
- pnpm install --frozen-lockfile || pnpm install
- pnpm run lint
- pnpm run lint:css
- pnpm run build
- pnpm test