Repository navigation
feat(hub): configure repository build workflows #456
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 . |