Files
2026-08-27 15:49:57 -07:00

36 lines
841 B
YAML

name: Validate agent context
on:
pull_request:
paths:
- agent-context/**
- .github/workflows/agent-context-ci.yml
- .github/workflows/sync-agent-context.yml
push:
branches: [main]
paths:
- agent-context/**
- .github/workflows/agent-context-ci.yml
- .github/workflows/sync-agent-context.yml
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 24
package-manager-cache: false
- run: npm ci
working-directory: agent-context
- run: npm test
working-directory: agent-context
- run: npm run check
working-directory: agent-context
- run: npm run build
working-directory: agent-context