Skip to content

refactor: unify agent and mcp attack loops behind one attack runner #76

refactor: unify agent and mcp attack loops behind one attack runner

refactor: unify agent and mcp attack loops behind one attack runner #76

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build & Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build
- run: npm run typecheck
lint:
name: Lint & Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run format:check
catalogs:
name: Catalogs & Skills
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- name: Verify evaluator catalogs are up-to-date
run: npm run build:catalog:check
- name: Validate skill bundles
run: npm run validate:skills
test:
name: Tests
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build
- name: Core tests
run: npm test --workspace=@keyvaluesystems/agent-opfor-core
- name: SDK tests
run: npm test --workspace=@keyvaluesystems/agent-opfor-sdk