| ... | @@ -7,8 +7,8 @@ on: | ... | @@ -7,8 +7,8 @@ on: |
| 7 | - main | 7 | - main |
| 8 | | 8 | |
| 9 | jobs: | 9 | jobs: |
| 10 | quality: | 10 | check: |
| 11 | name: Format, Lint, Typecheck, Test, Browser Test, Build | 11 | name: Check |
| 12 | runs-on: blacksmith-8vcpu-ubuntu-2404 | 12 | runs-on: blacksmith-8vcpu-ubuntu-2404 |
| 13 | timeout-minutes: 10 | 13 | timeout-minutes: 10 |
| 14 | steps: | 14 | steps: |
| ... | @@ -22,14 +22,6 @@ jobs: | ... | @@ -22,14 +22,6 @@ jobs: |
| 22 | cache: true | 22 | cache: true |
| 23 | run-install: true | 23 | run-install: true |
| 24 | | 24 | |
| 25 | - name: Cache Playwright browsers | | |
| 26 | uses: actions/cache@v5 | | |
| 27 | with: | | |
| 28 | path: ~/.cache/ms-playwright | | |
| 29 | key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }} | | |
| 30 | restore-keys: | | | |
| 31 | ${{ runner.os }}-playwright- | | |
| 32 | | | |
| 33 | - name: Ensure Electron runtime is installed | 25 | - name: Ensure Electron runtime is installed |
| 34 | run: vp run --filter @t3tools/desktop ensure:electron | 26 | run: vp run --filter @t3tools/desktop ensure:electron |
| 35 | | 27 | |
| ... | @@ -37,11 +29,60 @@ jobs: | ... | @@ -37,11 +29,60 @@ jobs: |
| 37 | run: vp check | 29 | run: vp check |
| 38 | | 30 | |
| 39 | - name: Typecheck | 31 | - name: Typecheck |
| 40 | run: vp run typecheck | 32 | run: vpr typecheck |
| | 33 | |
| | 34 | - name: Build desktop pipeline |
| | 35 | run: vp run build:desktop |
| | 36 | |
| | 37 | - name: Verify preload bundle output |
| | 38 | run: | |
| | 39 | test -f apps/desktop/dist-electron/preload.cjs |
| | 40 | grep -nE "desktopBridge|getLocalEnvironmentBootstrap|PICK_FOLDER_CHANNEL|wsUrl" apps/desktop/dist-electron/preload.cjs |
| | 41 | |
| | 42 | test: |
| | 43 | name: Test |
| | 44 | runs-on: blacksmith-8vcpu-ubuntu-2404 |
| | 45 | timeout-minutes: 10 |
| | 46 | steps: |
| | 47 | - name: Checkout |
| | 48 | uses: actions/checkout@v6 |
| | 49 | |
| | 50 | - name: Setup Vite+ |
| | 51 | uses: voidzero-dev/setup-vp@v1 |
| | 52 | with: |
| | 53 | node-version-file: package.json |
| | 54 | cache: true |
| | 55 | run-install: true |
| | 56 | |
| | 57 | - name: Ensure Electron runtime is installed |
| | 58 | run: vp run --filter @t3tools/desktop ensure:electron |
| 41 | | 59 | |
| 42 | - name: Test | 60 | - name: Test |
| 43 | run: vp run test | 61 | run: vp run test |
| 44 | | 62 | |
| | 63 | test_browser: |
| | 64 | name: Test Browser |
| | 65 | runs-on: blacksmith-8vcpu-ubuntu-2404 |
| | 66 | timeout-minutes: 10 |
| | 67 | steps: |
| | 68 | - name: Checkout |
| | 69 | uses: actions/checkout@v6 |
| | 70 | |
| | 71 | - name: Setup Vite+ |
| | 72 | uses: voidzero-dev/setup-vp@v1 |
| | 73 | with: |
| | 74 | node-version-file: package.json |
| | 75 | cache: true |
| | 76 | run-install: true |
| | 77 | |
| | 78 | - name: Cache Playwright browsers |
| | 79 | uses: actions/cache@v5 |
| | 80 | with: |
| | 81 | path: ~/.cache/ms-playwright |
| | 82 | key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }} |
| | 83 | restore-keys: | |
| | 84 | ${{ runner.os }}-playwright- |
| | 85 | |
| 45 | - name: Install browser test runtime | 86 | - name: Install browser test runtime |
| 46 | run: vp run --filter @t3tools/web test:browser:install | 87 | run: vp run --filter @t3tools/web test:browser:install |
| 47 | | 88 | |
| ... | @@ -65,14 +106,6 @@ jobs: | ... | @@ -65,14 +106,6 @@ jobs: |
| 65 | src/components/chat/CompactComposerControlsMenu.browser.tsx \ | 106 | src/components/chat/CompactComposerControlsMenu.browser.tsx \ |
| 66 | src/components/settings/SettingsPanels.browser.tsx | 107 | src/components/settings/SettingsPanels.browser.tsx |
| 67 | | 108 | |
| 68 | - name: Build desktop pipeline | | |
| 69 | run: vp run build:desktop | | |
| 70 | | | |
| 71 | - name: Verify preload bundle output | | |
| 72 | run: | | | |
| 73 | test -f apps/desktop/dist-electron/preload.cjs | | |
| 74 | grep -nE "desktopBridge|getLocalEnvironmentBootstrap|PICK_FOLDER_CHANNEL|wsUrl" apps/desktop/dist-electron/preload.cjs | | |
| 75 | | | |
| 76 | mobile_native_static_analysis: | 109 | mobile_native_static_analysis: |
| 77 | name: Mobile Native Static Analysis | 110 | name: Mobile Native Static Analysis |
| 78 | runs-on: blacksmith-12vcpu-macos-26 | 111 | runs-on: blacksmith-12vcpu-macos-26 |