build(deps-dev): bump vitest from 2.1.9 to 4.1.10 in /frontend #34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| backend: | |
| name: Backend (Rust) | |
| runs-on: ubuntu-24.04 | |
| defaults: | |
| run: | |
| working-directory: backend | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: backend | |
| - run: cargo fmt --check | |
| - run: cargo clippy --all-targets -- -D warnings | |
| # SQLX_OFFLINE keeps sqlx from requiring a live DB at compile time. | |
| - env: | |
| SQLX_OFFLINE: "true" | |
| run: cargo test --all-features | |
| frontend: | |
| name: Frontend (SvelteKit) | |
| runs-on: ubuntu-24.04 | |
| defaults: | |
| run: | |
| working-directory: frontend | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: "24" | |
| cache: npm | |
| cache-dependency-path: frontend/package.json | |
| - run: npm install --no-audit --no-fund | |
| - run: npm run lint | |
| - run: npm run check | |
| - run: npm run test:unit -- --run | |
| - run: npm run build |