mirror of
https://git.openapi.site/https://github.com/desirecore/registry.git
synced 2026-12-06 03:39:05 +08:00
36 lines
889 B
YAML
36 lines
889 B
YAML
name: Validate Registry
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- name: Check out registry
|
|
uses: actions/checkout@v4
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
cache: npm
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
- name: Validate MCP update boundaries
|
|
run: |
|
|
python3 scripts/upstream/test_mcp_updates.py
|
|
python3 scripts/upstream/test_propose_mcp_updates.py
|
|
- name: Validate Registry v4
|
|
run: npm test
|
|
- name: Run validator tests
|
|
run: node --test scripts/catalog/*.test.mjs
|
|
- name: Validate all Registry catalog sidecars
|
|
run: node scripts/catalog/validate-registry.mjs --require-sidecars
|