# 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