Repository navigation
feat(llm-helper): attachments on a single llm.chat call - images and PDF pages named by reference and read by the helper (RFC-0016, step 2) #221
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: ci | |
| # The wrapper's quality gate (tsc + node --test) plus the strict documentation | |
| # build, then gh-pages publication on push to main - the same verify/deploy | |
| # split as the engine repo's docs workflow. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: '26' # the current LTS (Node 20 is end of life; the package's floor is node >= 22, the oldest maintained LTS) | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build and test (tsc + node --test) | |
| run: npm test | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: '3.x' | |
| - name: Install MkDocs | |
| run: pip install mkdocs-material | |
| - name: Build docs (strict) | |
| run: mkdocs build --strict | |
| deploy-docs: | |
| # Publish to gh-pages only on push to main or manual dispatch, after both gates pass. | |
| if: github.event_name != 'pull_request' | |
| needs: [test, docs] | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| concurrency: | |
| group: docs-deploy | |
| cancel-in-progress: false | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: '3.x' | |
| - name: Install MkDocs | |
| run: pip install mkdocs-material | |
| - name: Build (strict) and deploy to gh-pages | |
| run: mkdocs gh-deploy --force --strict |