Files
models.dev/.github/workflows/validate.yml
Aiden Cline 707b7ecb61 fix(ci): stop model sync failing on Bun setup and NanoGPT output limits (#11403)
* fix(ci): stop model sync failing on Bun setup and NanoGPT output limits

* fix(sync): fall back to context window for NanoGPT output limit

* fix(sync): use context window for unknown NanoGPT text output limits
2026-10-24 20:18:20 -05:00

35 lines
721 B
YAML

name: Validate Models
on:
pull_request:
branches: [dev]
permissions:
contents: read
jobs:
validate:
if: github.repository == 'anomalyco/models.dev'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Run validation script
run: bun validate
- name: SDK tests
run: bun run test
working-directory: packages/sdk