Skip to content

feat(hub): configure repository build workflows #456

feat(hub): configure repository build workflows

feat(hub): configure repository build workflows #456

Workflow file for this run

name: Learning CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
test:
name: Learning checks${{ matrix.node == 26 && ' (Node 26)' || '' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [24, 26]
defaults:
run:
working-directory: packages/learning
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ matrix.node }}
cache: npm
cache-dependency-path: packages/learning/package-lock.json
- run: npm ci --ignore-scripts --engine-strict
- run: npm run schema:check
- run: npm test
- run: npm run demo
- run: npm run demo:agent-memory-repo
- name: Brand check environment tests
if: matrix.node == 24
working-directory: packages/learning/environments/brand-check
run: |
python3 -m venv .venv
.venv/bin/pip install -e .
.venv/bin/python -m unittest discover -s tests -t .