feat (backend): Task Implementation #368
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: | |
| push: | |
| pull_request: | |
| branches: | |
| - main | |
| - frontend | |
| - backend | |
| - database | |
| jobs: | |
| client: | |
| name: Client | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: ci-client-${{ github.ref }} | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install Packages | |
| run: bun install --filter ./frontend | |
| - name: Build Client | |
| run: bun run build | |
| working-directory: ./frontend | |
| database: | |
| name: Database | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: ci-db-${{ github.ref }} | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install Packages | |
| run: bun install --filter ./database | |
| - name: Typecheck Project | |
| run: bun run build:ci | |
| working-directory: ./database | |
| - name: Build Project | |
| run: bun run build | |
| working-directory: ./database | |
| - name: Generate Migrations | |
| run: bun db:generate | |
| working-directory: ./database | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: ci-lint-${{ github.ref }} | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install Packages | |
| run: bun install | |
| - name: Lint | |
| run: bun lint:ci |