@@ -14,25 +14,26 @@ jobs:
1414 - name : Checkout
1515 uses : actions/checkout@v4
1616
17+ - name : Setup pnpm
18+ uses : pnpm/action-setup@v4
19+ with :
20+ version : 9
21+ run_install : false
22+
1723 - name : Setup Node
1824 uses : actions/setup-node@v4
1925 with :
2026 node-version : ' lts/*'
2127 cache : ' pnpm'
2228
23- - name : Enable corepack and prepare pnpm
24- run : |
25- corepack enable
26- corepack prepare pnpm@9 --activate
27-
2829 - name : Install deps
2930 run : pnpm install --frozen-lockfile
3031
3132 - name : Generate router types
32- run : pnpm run typecheck -- -- noEmit
33+ run : pnpm run typecheck --noEmit
3334
3435 - name : TypeScript typecheck (tsc)
35- run : pnpm run typecheck -- -- noEmit
36+ run : pnpm run typecheck --noEmit
3637
3738 - name : ESLint
3839 run : pnpm eslint . --ext .ts,.tsx
@@ -51,20 +52,17 @@ jobs:
5152 uses : astral-sh/setup-uv@v5
5253 with :
5354 enable-cache : true
55+ python-version : " 3.12"
5456
55- - name : Pin Python version
56- run : echo "3.12" > .python-version
57-
58- - name : Install deps
59- run : uv sync --all-extras --dev
57+ - name : Install deps (with dev extras)
58+ run : uv sync --extra dev --dev
6059
6160 - name : Ruff check
62- run : uv run ruff check .
61+ run : uv run python -m ruff check .
6362
64- - name : Ruff format (diff only )
65- run : uv run ruff format --check .
63+ - name : Ruff format (auto-fix )
64+ run : uv run python -m ruff format .
6665
6766 - name : mypy
6867 run : uv run mypy .
6968
70-
0 commit comments