working auth #24
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, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| build-and-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v1 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Build lib package | |
| run: bun run build:lib | |
| - name: Run lint | |
| run: bun run lint | |
| - name: Run typecheck | |
| run: bun run typecheck | |
| - name: Run build | |
| env: | |
| VITE_BACKEND_URL: http://localhost:3000 | |
| DATABASE_URL: postgresql://localhost:5432/test | |
| run: bun run build:frontend && bun run build:backend |