chore: remove manual vercel deployment workflow in favor of native in… #47
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, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| frontend-checks: | |
| name: Frontend — Lint, Type Check, Build | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: frontend | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| cache-dependency-path: frontend/package-lock.json | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Biome CI check | |
| uses: biomejs/setup-biome@v2 | |
| with: | |
| version: 1.9.4 | |
| - run: biome ci . | |
| - name: TypeScript type check | |
| run: npm run type-check | |
| - name: Next.js build | |
| run: npm run build | |
| env: | |
| NEXT_PUBLIC_INFERENCE_MODE: online | |
| NEXT_PUBLIC_APP_MODE: demo | |
| NEXT_PUBLIC_BACKEND_URL: http://localhost:8000 |