Feat/auth clerk #39
Workflow file for this run
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: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| cache-dependency-path: | | |
| package-lock.json | |
| frontend/package-lock.json | |
| infra/package-lock.json | |
| # Install dependencies for all packages | |
| - name: Install root deps | |
| run: npm ci | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '>=1.21.0' | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: 'backend/python/requirements.txt' | |
| - name: Install Python deps | |
| run: cd backend/python && uv venv && uv pip install -r requirements.txt | |
| - name: Install frontend deps | |
| run: cd frontend && npm ci | |
| - name: Install infra deps | |
| run: cd infra && npm ci | |
| # Run checks | |
| - name: Check formatting | |
| run: npm run format:check | |
| - name: Lint | |
| run: npm run lint | |
| - name: Synth CDK | |
| run: npm run synth | |
| - name: Build frontend | |
| run: cd frontend && npm run build |