Files
helios/.gitea/workflows/ci.yml
marcuspaico 9b2cb6a853
Some checks failed
CI / check (push) Failing after 29s
ci: authenticated checkout via injected token
Anonymous HTTPS clone fails while the repo is private; token works either
way, and the internal gitea:3000 host skips the reverse proxy.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 14:45:07 -07:00

21 lines
693 B
YAML

name: CI
on:
push:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
container:
image: oven/bun:1
steps:
- name: Checkout
run: |
apt-get update -qq && apt-get install -y -qq git >/dev/null
# Token-authenticated fetch so CI works on private repos too; internal
# gitea:3000 host avoids the proxy round-trip.
git init -q . && git fetch -q --depth 1 "http://x:${{ secrets.GITHUB_TOKEN }}@gitea:3000/${{ github.repository }}.git" "${{ github.sha }}" && git checkout -q FETCH_HEAD
- run: bun install --frozen-lockfile
- run: bun run typecheck
- run: bun run build:web
- run: bun test server