nix-evaluator-stats/.github/workflows/check.yml
NotAShelf 0f875baa99
ci: add format and lint checks
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I78b9c47c3019ebd0147471e4c6cdce796a6a6964
2026-01-22 23:29:19 +03:00

30 lines
530 B
YAML

name: Check
on:
pull_request:
push:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run check
- run: pnpm run lint
- run: pnpm run fmt --check