From fcc92073853006b5fe3a397bf076c40217a2585e Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Sun, 22 Mar 2026 20:13:18 -0700 Subject: [PATCH] chore(ci): migrate to Gitea local CI, disable GitHub Actions - Add .gitea/workflows/ci.yml for self-hosted Gitea runner - Disable .github/workflows/ci.yml (GitHub billing blocked) --- .gitea/workflows/ci.yml | 60 +++++++++++++++++++ .github/workflows/{ci.yml => ci.yml.disabled} | 0 2 files changed, 60 insertions(+) create mode 100644 .gitea/workflows/ci.yml rename .github/workflows/{ci.yml => ci.yml.disabled} (100%) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..611aea6 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,60 @@ +name: CI — ChronoMind + +on: + push: + branches: [main] + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +env: + COMMON_PLAT: /Users/sd9235/code/mygh/learning_ai_common_plat + DB_PROVIDER: memory + JWT_SECRET: ci-test-secret-at-least-32-characters-long + NEXT_TELEMETRY_DISABLED: '1' + +jobs: + backend: + name: Backend — typecheck + test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Build @bytelyst/* packages + working-directory: ${{ env.COMMON_PLAT }} + run: pnpm install --frozen-lockfile && pnpm build + + - name: Install workspace dependencies + run: pnpm install + + - name: Backend typecheck + run: pnpm --filter @chronomind/backend run typecheck + + - name: Backend tests + run: pnpm --filter @chronomind/backend run test + + web: + name: Web — typecheck + lint + test + build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Build @bytelyst/* packages + working-directory: ${{ env.COMMON_PLAT }} + run: pnpm install --frozen-lockfile && pnpm build + + - name: Install workspace dependencies + run: pnpm install + + - name: Web typecheck + run: pnpm --filter web run typecheck + + - name: Web lint + run: pnpm --filter web run lint + + - name: Web test + run: pnpm --filter web run test + + - name: Web build + run: pnpm --filter web run build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml.disabled similarity index 100% rename from .github/workflows/ci.yml rename to .github/workflows/ci.yml.disabled