From 22ca400a9ce0b69b696fec584345f86ee4428af5 Mon Sep 17 00:00:00 2001 From: Samuel James Date: Tue, 23 Jun 2026 18:47:02 -0400 Subject: [PATCH] Add Forgejo Actions CI workflow Type-check and build frontend + backend on push to main and on PRs. Runner is registered on a dedicated LXC (forgejo-runner) using node:22-bookworm containers. Co-authored-by: Samuel James Co-authored-by: Kiro --- .forgejo/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .forgejo/workflows/ci.yml diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml new file mode 100644 index 0000000..bcf151a --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,32 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Node + uses: actions/setup-node@v4 + with: + node-version: 22 + + - name: Install + type-check + build frontend + run: | + npm ci + npx tsc --noEmit + npm run build + + - name: Install + type-check + build backend + working-directory: backend + run: | + npm ci + npx tsc --noEmit + npm run build