From 48b0f7b8a37815508d4f7797d51a100fcb1c094b Mon Sep 17 00:00:00 2001 From: Rafi Arrafif Date: Sun, 1 Feb 2026 11:12:39 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20ci:=20adjust=20workflow=20for=20?= =?UTF-8?q?gitea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..b62529a --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,37 @@ +name: Integration Tests + +on: + pull_request: + branches: + - main + +jobs: + integration-tests: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup runtime environment (Bun) + uses: oven-sh/setup-bun@v1 + with: + bun-version: latest + + - name: Install dependencies + run: bun install --frozen-lockfile + + - name: Index route sync + run: bun run route:sync + + - name: Linting test + run: bun run lint + + - name: Create dummy system account + run: bun run dummy:systemaccount + + - name: Generate prisma schema + run: bunx prisma generate + + - name: Build test + run: bun run build