Some checks failed
CI / check (push) Failing after 29s
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>
21 lines
693 B
YAML
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
|