# CI for Peppa itself (PEP-22): typecheck, web build and the e2e suite on mocks — the same # scripts/ci.sh that runs locally. Runs on Peppa's act_runner (`peppa-trusted`, registered for # peppa-bot's repos, PEP-57); tmux and the openspec CLI are installed in the job. name: peppa-ci on: pull_request: push: branches: [main] jobs: ci: # The runner has the host's docker.sock: only branches of this repository, never forks. if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository runs-on: peppa-trusted timeout-minutes: 30 env: # Peppa's Postgres on the host, a database per run (dropped by ci.sh). A service container # doesn't isolate here: every job shares the traefik_default network and its `postgres` alias. PEPPA_TEST_PG: postgres://peppa:peppa@host.docker.internal:5433 PEPPA_TEST_DB: peppa_test_ci_r${{ github.run_id }} steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: "26" - name: tools run: | apt-get update -qq && apt-get install -y -qq tmux >/dev/null npm install -g pnpm@12.18.0 @fission-ai/openspec@2.0.0 >/dev/null - name: install run: pnpm install --frozen-lockfile - name: ci run: bash scripts/ci.sh