Skip to content

Render rejected goal issues on start #77

Render rejected goal issues on start

Render rejected goal issues on start #77

Workflow file for this run

name: PR Gate
on:
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '22'
cache: 'npm'
- run: npm ci
- run: npm run lint
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '22'
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm test
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '22'
cache: 'npm'
- run: npm ci
- run: npm run build
# Guards the evals/jumbo CLI contract: builds jumbo from THIS commit's source
# and runs the evals against it (not a published binary), so a primitive
# refactor that breaks the CLI surface the evals depend on fails the PR here.
evals:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '22'
cache: 'npm'
# Build jumbo from source → dist/cli.js (the binary the evals will exercise).
- run: npm ci
- run: npm run build
# Evals as an independent nested project, run against the freshly-built jumbo.
- run: npm ci
working-directory: evals
# Eval self-consistency (does not invoke jumbo).
- run: npm test
working-directory: evals
# The evals/jumbo CLI contract guard — exercises real jumbo (from source)
# through the surface the evals depend on. This is what catches a primitive
# refactor that would otherwise silently rot the evals.
- run: npm run smoke:jumbo
working-directory: evals