SPB Git

Repository Public MIT

ci.yml 1019 B 27 lines yaml

1# Portable CI definition. The canonical remote (spbgit) has no runner; `pnpm verify` runs the same steps locally.2name: ci3on: [push, pull_request]4permissions:5  contents: read6jobs:7  verify:8    runs-on: ubuntu-24.049    services:10      postgres:11        image: postgres:1712        env: { POSTGRES_PASSWORD: ci, POSTGRES_DB: postgres }13        ports: ["5432:5432"]14        options: --health-cmd "pg_isready" --health-interval 5s --health-retries 1015    env:16      TEST_ADMIN_DATABASE_URL: postgres://postgres:ci@localhost:5432/postgres17    steps:18      - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.219      - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.020        with: { version: 11 }21      - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.022        with: { node-version: 24, cache: pnpm }23      - run: pnpm install --frozen-lockfile24      - run: pnpm audit --prod --audit-level high25      - run: pnpm typecheck26      - run: pnpm test27
Files main
Menu

Theme