Merge pull request #173 from walterlow/develop #192
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: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| quality: | |
| name: Quality Checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Check feature boundaries | |
| run: npm run check:boundaries | |
| - name: Check deps contract seams | |
| run: npm run check:deps-contracts | |
| - name: Check legacy lib import migration | |
| run: npm run check:legacy-lib-imports | |
| - name: Check deps wrapper health | |
| run: npm run check:deps-wrapper-health | |
| - name: Generate feature-edge report | |
| run: npm run -s report:feature-edges:json > feature-edges-report.json | |
| - name: Generate deps-wrapper health report | |
| run: npm run -s report:deps-wrapper-health:json > deps-wrapper-health-report.json | |
| - name: Check feature-edge budgets | |
| run: npm run check:edge-budgets -- --input feature-edges-report.json | |
| - name: Upload feature-edge report | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: feature-edges-report | |
| path: feature-edges-report.json | |
| - name: Upload deps-wrapper health report | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: deps-wrapper-health-report | |
| path: deps-wrapper-health-report.json | |
| - name: Lint | |
| run: npm run lint | |
| - name: Preview Sync Stress (10x) | |
| run: npm run test:preview-sync:stress -- --runs 10 | |
| - name: Build | |
| run: npm run build |