Files
helios/.gitea/workflows/ci.yml
marcuspaico bd00e80b44
All checks were successful
CI / check (push) Successful in 45s
ci: fetch via public hostname — job network cannot resolve internal gitea
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 15:02:29 -07:00

22 lines
774 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 also works if the repo goes private.
# Public hostname: job containers get their own network and cannot
# resolve the internal `gitea` service name.
git init -q . && git fetch -q --depth 1 "https://x:${{ secrets.GITHUB_TOKEN }}@git.rehbock.xyz/${{ 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