Update README.md #49
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: | |
| permissions: | |
| contents: read | |
| jobs: | |
| quality: | |
| name: Quality (Node ${{ matrix.node }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [20, 22, 24] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run lint | |
| - run: npm run format:check | |
| - run: npm run typecheck | |
| - run: npm test | |
| - run: npm run test:acceptance | |
| - run: npm run assets:verify | |
| - run: npm pack --dry-run --json | |
| - run: npm audit --omit=dev --audit-level=high | |
| assets: | |
| name: Deterministic assets (Ubuntu 24.04, Node 22.23.1) | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.23.1 | |
| cache: npm | |
| - run: npm ci | |
| # Byte-identical rendering is intentionally restricted to this pinned environment. | |
| - run: npm run assets:verify:reproduce | |
| minimum-pi-compatibility: | |
| name: Minimum Pi 0.80.6 compatibility | |
| 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 install --no-save --ignore-scripts @earendil-works/pi-coding-agent@0.80.6 | |
| - run: npm exec pi -- --version | |
| - run: npm run typecheck | |
| - run: npm test |