Production #184
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 Checks | |
| on: | |
| pull_request: | |
| branches: [master] | |
| paths: | |
| - 'packages/app/control/**' | |
| - '.github/workflows/ci-checks.yml' | |
| jobs: | |
| ci-checks: | |
| name: Run CI Checks | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| run: npm install -g pnpm | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'pnpm' | |
| - name: Install workspace dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Generate Prisma client | |
| working-directory: ./packages/app/control | |
| run: pnpm run prisma:generate | |
| - name: Check Formatting | |
| working-directory: ./packages/app/control | |
| run: pnpm run format:check | |
| - name: Check Knip | |
| working-directory: ./packages/app/control | |
| run: pnpm run knip | |
| - name: Check Types | |
| working-directory: ./packages/app/control | |
| run: pnpm run check-types | |
| - name: Check Lint | |
| working-directory: ./packages/app/control | |
| run: pnpm run lint |