trails/.forgejo/workflows/ci.yml
Ullrich Schäfer db8a3bf2ad
All checks were successful
CI / Typecheck (push) Successful in 4m54s
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) <noreply@anthropic.com>
2026-07-22 16:07:47 +02:00

24 lines
719 B
YAML

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