# 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); Postgres is a throwaway service container, tmux is 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 services: postgres: image: postgres:17-alpine env: POSTGRES_USER: peppa POSTGRES_PASSWORD: peppa env: PEPPA_TEST_PG: postgres://peppa:peppa@postgres:5432 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 >/dev/null - name: install run: pnpm install --frozen-lockfile - name: ci run: bash scripts/ci.sh