From 3954a8f975e9a151216df8772e1b2aba10fb6a2e Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Wed, 29 Oct 2025 23:05:55 +0000 Subject: [PATCH] feat: Add GitHub Actions workflows --- .github/workflows/lint.yml | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..11e6ccbe --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,44 @@ +name: Lint & Type Check + +on: + push: + branches: ['**'] + pull_request: + branches: ['**'] + +jobs: + lint: + name: Lint & Type Check + 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: Run ESLint + run: bun run lint + continue-on-error: false + + - name: TypeScript Check (Frontend) + run: bunx tsc --noEmit + continue-on-error: false + + - name: TypeScript Check (API) + working-directory: ./api + run: bunx tsc --noEmit --module node16 --moduleResolution node16 --target ES2022 --lib ES2022 **/*.ts + continue-on-error: false + + - name: Notify Vercel + if: always() + uses: vercel/repository-dispatch/actions/status@v1 + with: + name: 'Vercel - thrillwiki: lint' + status: ${{ job.status }}