feat: add command timeouts #4
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: Backend CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'apps/backend/**' | |
| - '.github/workflows/backend-ci.yml' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'apps/backend/**' | |
| - '.github/workflows/backend-ci.yml' | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./apps/backend | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v1 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Check formatting | |
| run: bun prettier --check 'src/**/*.ts' | |
| - name: Lint | |
| run: bun run lint | |
| - name: Build | |
| run: bun run build |