Migrate to Vite+, oxlint/oxfmt, vendored soundtouch #252
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 Vite+ | |
| uses: voidzero-dev/setup-vp@v1 | |
| with: | |
| node-version: '22' | |
| cache: true | |
| - name: Install dependencies | |
| run: vp install | |
| - name: Check feature boundaries | |
| run: vp run check:boundaries | |
| - name: Check deps contract seams | |
| run: vp run check:deps-contracts | |
| - name: Check legacy lib import migration | |
| run: vp run check:legacy-lib-imports | |
| - name: Check deps wrapper health | |
| run: vp run check:deps-wrapper-health | |
| - name: Generate feature-edge report | |
| run: node scripts/report-feature-edges.mjs --json > feature-edges-report.json | |
| - name: Generate deps-wrapper health report | |
| run: node scripts/check-deps-wrapper-health.mjs --json > deps-wrapper-health-report.json | |
| - name: Check feature-edge budgets | |
| run: node scripts/check-feature-edge-budgets.mjs --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: Check | |
| run: vp run check | |
| - name: Preview Sync Stress (10x) | |
| run: vp run test:preview-sync:stress -- --runs 10 | |
| - name: Build | |
| run: vp build |