This repository was archived by the owner on Jul 17, 2026. It is now read-only.
docs(notes): mark Phase 1 merged (PR #2, 854fdbb) + log the CI key fix #15
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run test suite | |
| run: npm test | |
| # The suite is fully offline (fixture PDFs + pure helpers, no real API | |
| # calls), but some modules import src/config/index.js, which fail-fasts | |
| # if ANTHROPIC_API_KEY is unset. A dummy value satisfies that import | |
| # without enabling any network calls — keeps CI free and deterministic. | |
| env: | |
| ANTHROPIC_API_KEY: dummy-key-offline-tests |