From 2341b01efe9e0ce3faa80828f76647656f89bcec Mon Sep 17 00:00:00 2001 From: AbbasFullstack <2.93289017e+08+AbbasFullstack@users.noreply.github.com> Date: Thu, 27 Aug 2026 12:01:28 +0000 Subject: [PATCH] Add automated quality checks --- .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a90d1b1 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: Quality checks + +on: + pull_request: + branches: [main] + push: + branches: [main] + +permissions: + contents: read + +jobs: + quality: + name: Type check and build + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Set up pnpm + uses: pnpm/action-setup@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: pnpm + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Type check + run: pnpm check + + - name: Build production app + run: pnpm build +