Release: version packages (#92) #268
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tier1 Deterministic Gate | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| tier1-gate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm build | |
| - name: Install Playwright browsers | |
| run: pnpm exec playwright install --with-deps chromium | |
| - name: Verify OpenAI key | |
| run: | | |
| if [ -z "${OPENAI_API_KEY}" ]; then | |
| echo "::warning::OPENAI_API_KEY not available — skipping Tier1 gate" | |
| echo "SKIP_GATE=true" >> "$GITHUB_ENV" | |
| fi | |
| env: | |
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
| - name: Run deterministic gate | |
| if: env.SKIP_GATE != 'true' | |
| run: | | |
| pnpm bench:tier1:gate -- \ | |
| --out ./agent-results/tier1-ci \ | |
| --model gpt-5.2 \ | |
| --min-full-pass-rate 1 \ | |
| --min-fast-pass-rate 1 \ | |
| --max-avg-turns 24 \ | |
| --max-avg-duration-ms 120000 | |
| env: | |
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
| - name: Upload gate artifacts | |
| if: always() && env.SKIP_GATE != 'true' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: tier1-ci-results | |
| path: ./agent-results/tier1-ci |