File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,14 +18,15 @@ jobs:
1818 python-version : ' 3.12'
1919 - name : Install uv
2020 uses : astral-sh/setup-uv@v3
21- - name : Install dependencies
22- run : uv sync --frozen --no-dev
21+ - name : Install dependencies (incl. dev for ruff)
22+ run : uv sync --frozen
2323 - name : Ruff lint
2424 run : uv run --no-sync ruff check app/ tests/ scripts/
2525 - name : Docker build smoke
2626 run : |
2727 docker compose --env-file .env.example config -q || true
2828 docker build -t openstudy:ci-smoke .
29+
2930 frontend :
3031 name : Frontend (tsc)
3132 runs-on : ubuntu-latest
@@ -34,10 +35,17 @@ jobs:
3435 working-directory : web
3536 steps :
3637 - uses : actions/checkout@v4
37- - uses : actions/setup-node@v4
38+ - name : Install pnpm
39+ uses : pnpm/action-setup@v4
40+ with :
41+ version : 9
42+ - name : Set up Node
43+ uses : actions/setup-node@v4
3844 with :
3945 node-version : ' 20'
40- cache : ' npm'
41- cache-dependency-path : ' web/package-lock.json'
42- - run : npm ci
43- - run : npx tsc -b
46+ cache : ' pnpm'
47+ cache-dependency-path : ' web/pnpm-lock.yaml'
48+ - name : Install dependencies
49+ run : pnpm install --frozen-lockfile
50+ - name : Type-check
51+ run : pnpm exec tsc -b
You can’t perform that action at this time.
0 commit comments