Files
helios/.gitea/workflows/ci.yml
marcuspaico 24bc8917f1 feat(deploy): serve SPA from server, Dockerfile, compose, deploy docs
- Add serveStatic middleware to server/src/app.ts to serve web/dist
- Include SPA fallback route for client-side routing deep links
- Create Dockerfile with multi-stage build (Node deps + build, slim runtime)
- Add docker-compose.yml for single-command deployment
- Add docs/deploy.md with deployment instructions and Caddy reverse proxy example
- Add bun run build:web step to CI pipeline after typecheck

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

19 lines
531 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
git init -q . && git fetch -q --depth 1 "https://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