From db8a3bf2ad73c976dc4dbb5dc35ea8dda12f78b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Wed, 22 Jul 2026 16:07:47 +0200 Subject: [PATCH] ci(forgejo): add proof CI workflow for Forgejo Actions First step of porting CI/CD from GitHub Actions to the self-hosted Forgejo at git.ullrich.is. Proves the trails-forgejo runner executes a real job (checkout + pnpm + typecheck) before porting the full suite. Co-Authored-By: Claude Opus 4.8 (1M context) --- .forgejo/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..d59410b --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI +# Forgejo Actions port — proof workflow. Once green, the remaining jobs from +# .github/workflows/ci.yml (lint, test, build, e2e, visual, image-smoke, security) +# get ported here. NOTE: Forgejo uses .forgejo/workflows in preference to +# .github/workflows, so the GitHub copies do not double-run here. +on: + push: + branches: [main, ci/forgejo-actions] + pull_request: + branches: [main] + +jobs: + typecheck: + name: Typecheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - uses: pnpm/action-setup@v6 + - uses: actions/setup-node@v6 + with: + node-version: 24 + cache: pnpm + - run: pnpm install --frozen-lockfile + - run: pnpm typecheck