ci(forgejo): add proof CI workflow for Forgejo Actions
All checks were successful
CI / Typecheck (push) Successful in 4m54s
All checks were successful
CI / Typecheck (push) Successful in 4m54s
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>
This commit is contained in:
parent
76cb64f4ef
commit
db8a3bf2ad
1 changed files with 24 additions and 0 deletions
24
.forgejo/workflows/ci.yml
Normal file
24
.forgejo/workflows/ci.yml
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue