Files
playbook/brooks-lint/.github/workflows/validate.yml
T
2026-07-18 00:02:59 +00:00

37 lines
923 B
YAML

name: Validate
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: validate-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
strategy:
fail-fast: false
matrix:
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: ${{ matrix.node-version }}
- name: Validate repository consistency
run: node scripts/validate-repo.mjs
- name: Unit tests
run: npm test
- name: Parser benchmark (frozen corpus)
run: npm run benchmark
- name: Structural eval suite
run: npm run evals