fix(041): chat snake_case→camelCase for GraphQL, Ollama api_base on f… #138
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: Frontend CI | |
| on: | |
| push: | |
| paths: | |
| - "frontend/**" | |
| - ".github/workflows/frontend.yml" | |
| pull_request: | |
| paths: | |
| - "frontend/**" | |
| - ".github/workflows/frontend.yml" | |
| jobs: | |
| lint-test-build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: frontend | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v5 | |
| with: | |
| version: 10 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| cache-dependency-path: frontend/pnpm-lock.yaml | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Unit tests | |
| run: pnpm vitest run | |
| - name: Build | |
| run: pnpm build |