fix(setup): known-agent-login flag, merge method detection, truncation warnings, drop dead runChecks #90
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 | |
| on: | |
| push: { branches: [main] } | |
| pull_request: | |
| # Least-privilege GITHUB_TOKEN: CI only reads the repo (checkout + npm). No job writes. | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| 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 run typecheck | |
| - run: npm run check:schemas | |
| - run: npm run check:version | |
| - run: npm test | |
| - run: npm run build | |
| pi: | |
| 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 run build | |
| - run: npm run -w pi typecheck | |
| - run: npm run -w pi test | |
| - run: npm run -w pi build | |
| dashboard: | |
| 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 run build | |
| - run: npm run -w dashboard typecheck | |
| - run: npm run -w dashboard test | |
| - run: npm run -w dashboard build | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: { node-version: 22 } | |
| - name: Build docs site | |
| working-directory: docs | |
| run: npm ci && npm run build |