fix: restore aiSummaryState module and fix test infrastructure broken by hotfix #50
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
| # agent-pmo:424c8f8 | |
| name: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| ci: | |
| name: CI | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - run: npm ci | |
| - name: Format check | |
| run: make fmt CHECK=1 | |
| - name: Lint | |
| run: make lint | |
| # make test = fail-fast + coverage + threshold enforcement ([TEST-RULES]). | |
| # Thresholds live in coverage-thresholds.json ([COVERAGE-THRESHOLDS-JSON]). | |
| - name: Test | |
| run: make test-exclude-ci | |
| - name: Upload coverage | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: coverage-report | |
| path: coverage/ | |
| retention-days: 7 | |
| - name: Build | |
| run: make build | |
| - name: Package | |
| run: make package | |
| website: | |
| name: Website tests | |
| runs-on: ubuntu-latest | |
| # TIMEOUT EXCEPTION: Playwright install + browser tests commonly exceed 10 min | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| cache-dependency-path: website/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| working-directory: website | |
| - name: Build site | |
| run: npx @11ty/eleventy | |
| working-directory: website | |
| - name: Install Playwright | |
| run: npx playwright install --with-deps chromium | |
| working-directory: website | |
| - name: Run website tests | |
| run: npx playwright test | |
| working-directory: website |