| author | |
| committer | |
| log | e4829603ff70bdeac96780e1512ac2c09638e5a3 |
| tree | 05fa22e21c654ef8be1fcc78c19a08934d03837c |
| parent | 1d77cec991971d3113918e896b1c871e8b044da7 |
| signature | Signed by PGP key B5690EEEBB952194 |
6 files changed, 126 insertions(+), 14 deletions(-)
.github/workflows/ci.yml+31-3| ... | ... | @@ -6,6 +6,10 @@ on: |
| 6 | 6 | branches: |
| 7 | 7 | - main |
| 8 | 8 | |
| 9 | concurrency: | |
| 10 | group: ci-${{ github.event.pull_request.number || github.sha }} | |
| 11 | cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| 12 | ||
| 9 | 13 | jobs: |
| 10 | 14 | check: |
| 11 | 15 | name: Check |
| ... | ... | @@ -14,6 +18,11 @@ jobs: |
| 14 | 18 | steps: |
| 15 | 19 | - name: Checkout |
| 16 | 20 | uses: actions/checkout@v6 |
| 21 | with: | |
| 22 | sparse-checkout: | | |
| 23 | /* | |
| 24 | !/.repos/ | |
| 25 | sparse-checkout-cone-mode: false | |
| 17 | 26 | |
| 18 | 27 | - name: Setup Vite+ |
| 19 | 28 | uses: voidzero-dev/setup-vp@v1 |
| ... | ... | @@ -55,6 +64,11 @@ jobs: |
| 55 | 64 | steps: |
| 56 | 65 | - name: Checkout |
| 57 | 66 | uses: actions/checkout@v6 |
| 67 | with: | |
| 68 | sparse-checkout: | | |
| 69 | /* | |
| 70 | !/.repos/ | |
| 71 | sparse-checkout-cone-mode: false | |
| 58 | 72 | |
| 59 | 73 | - name: Setup Vite+ |
| 60 | 74 | uses: voidzero-dev/setup-vp@v1 |
| ... | ... | @@ -77,18 +91,25 @@ jobs: |
| 77 | 91 | |
| 78 | 92 | mobile_native_static_analysis: |
| 79 | 93 | name: Mobile Native Static Analysis |
| 80 | runs-on: blacksmith-12vcpu-macos-26 | |
| 94 | runs-on: blacksmith-6vcpu-macos-26 | |
| 81 | 95 | timeout-minutes: 10 |
| 82 | 96 | steps: |
| 83 | 97 | - name: Checkout |
| 84 | 98 | uses: actions/checkout@v6 |
| 99 | with: | |
| 100 | sparse-checkout: | | |
| 101 | /* | |
| 102 | !/.repos/ | |
| 103 | sparse-checkout-cone-mode: false | |
| 85 | 104 | |
| 86 | 105 | - name: Setup Vite+ |
| 87 | 106 | uses: voidzero-dev/setup-vp@v1 |
| 88 | 107 | with: |
| 89 | 108 | node-version-file: package.json |
| 90 | 109 | cache: true |
| 91 | run-install: true | |
| 110 | run-install: | | |
| 111 | args: | |
| 112 | - --filter=@t3tools/scripts... | |
| 92 | 113 | |
| 93 | 114 | - name: Install mobile native static analysis tools |
| 94 | 115 | run: brew bundle install --file apps/mobile/Brewfile |
| ... | ... | @@ -103,13 +124,20 @@ jobs: |
| 103 | 124 | steps: |
| 104 | 125 | - name: Checkout |
| 105 | 126 | uses: actions/checkout@v6 |
| 127 | with: | |
| 128 | sparse-checkout: | | |
| 129 | /* | |
| 130 | !/.repos/ | |
| 131 | sparse-checkout-cone-mode: false | |
| 106 | 132 | |
| 107 | 133 | - name: Setup Vite+ |
| 108 | 134 | uses: voidzero-dev/setup-vp@v1 |
| 109 | 135 | with: |
| 110 | 136 | node-version-file: package.json |
| 111 | 137 | cache: true |
| 112 | run-install: true | |
| 138 | run-install: | | |
| 139 | args: | |
| 140 | - --filter=@t3tools/scripts... | |
| 113 | 141 | |
| 114 | 142 | - name: Exercise release-only workflow steps |
| 115 | 143 | run: node scripts/release-smoke.ts |
.github/workflows/deploy-relay.yml+8-1| ... | ... | @@ -38,13 +38,20 @@ jobs: |
| 38 | 38 | steps: |
| 39 | 39 | - name: Checkout |
| 40 | 40 | uses: actions/checkout@v6 |
| 41 | with: | |
| 42 | sparse-checkout: | | |
| 43 | /* | |
| 44 | !/.repos/ | |
| 45 | sparse-checkout-cone-mode: false | |
| 41 | 46 | |
| 42 | 47 | - name: Setup Vite+ |
| 43 | 48 | uses: voidzero-dev/setup-vp@v1 |
| 44 | 49 | with: |
| 45 | 50 | node-version-file: package.json |
| 46 | 51 | cache: true |
| 47 | run-install: true | |
| 52 | run-install: | | |
| 53 | args: | |
| 54 | - --filter=t3code-relay... | |
| 48 | 55 | |
| 49 | 56 | - name: Deploy production relay stage |
| 50 | 57 | id: deploy |
.github/workflows/mobile-eas-preview.yml+14-3| ... | ... | @@ -2,13 +2,18 @@ name: Mobile EAS Preview |
| 2 | 2 | |
| 3 | 3 | on: |
| 4 | 4 | pull_request: |
| 5 | types: [opened, reopened, synchronize, labeled, unlabeled] | |
| 5 | types: [opened, reopened, synchronize, labeled] | |
| 6 | 6 | |
| 7 | 7 | jobs: |
| 8 | 8 | preview: |
| 9 | 9 | name: EAS Preview |
| 10 | if: contains(github.event.pull_request.labels.*.name, '🚀 Mobile Continuous Deployment') | |
| 10 | if: | | |
| 11 | contains(github.event.pull_request.labels.*.name, '🚀 Mobile Continuous Deployment') && | |
| 12 | (github.event.action != 'labeled' || github.event.label.name == '🚀 Mobile Continuous Deployment') | |
| 11 | 13 | runs-on: blacksmith-8vcpu-ubuntu-2404 |
| 14 | concurrency: | |
| 15 | group: mobile-eas-preview-${{ github.event.pull_request.number }} | |
| 16 | cancel-in-progress: true | |
| 12 | 17 | permissions: |
| 13 | 18 | contents: read |
| 14 | 19 | pull-requests: write |
| ... | ... | @@ -34,6 +39,10 @@ jobs: |
| 34 | 39 | uses: actions/checkout@v6 |
| 35 | 40 | with: |
| 36 | 41 | fetch-depth: 0 |
| 42 | sparse-checkout: | | |
| 43 | /* | |
| 44 | !/.repos/ | |
| 45 | sparse-checkout-cone-mode: false | |
| 37 | 46 | |
| 38 | 47 | - name: Setup Vite+ |
| 39 | 48 | if: steps.expo-token.outputs.present == 'true' |
| ... | ... | @@ -41,7 +50,9 @@ jobs: |
| 41 | 50 | with: |
| 42 | 51 | node-version-file: package.json |
| 43 | 52 | cache: true |
| 44 | run-install: true | |
| 53 | run-install: | | |
| 54 | args: | |
| 55 | - --filter=@t3tools/mobile... | |
| 45 | 56 | |
| 46 | 57 | - name: Expose pnpm |
| 47 | 58 | if: steps.expo-token.outputs.present == 'true' |
.github/workflows/mobile-eas-production.yml+7-1| ... | ... | @@ -57,6 +57,10 @@ jobs: |
| 57 | 57 | uses: actions/checkout@v6 |
| 58 | 58 | with: |
| 59 | 59 | fetch-depth: 0 |
| 60 | sparse-checkout: | | |
| 61 | /* | |
| 62 | !/.repos/ | |
| 63 | sparse-checkout-cone-mode: false | |
| 60 | 64 | |
| 61 | 65 | - name: Setup Vite+ |
| 62 | 66 | if: steps.expo-token.outputs.present == 'true' |
| ... | ... | @@ -64,7 +68,9 @@ jobs: |
| 64 | 68 | with: |
| 65 | 69 | node-version-file: package.json |
| 66 | 70 | cache: true |
| 67 | run-install: true | |
| 71 | run-install: | | |
| 72 | args: | |
| 73 | - --filter=@t3tools/mobile... | |
| 68 | 74 | |
| 69 | 75 | - name: Expose pnpm |
| 70 | 76 | if: steps.expo-token.outputs.present == 'true' |
.github/workflows/mobile-showcase-screenshots.yml+18-2| ... | ... | @@ -37,13 +37,21 @@ jobs: |
| 37 | 37 | steps: |
| 38 | 38 | - name: Checkout |
| 39 | 39 | uses: actions/checkout@v6 |
| 40 | with: | |
| 41 | sparse-checkout: | | |
| 42 | /* | |
| 43 | !/.repos/ | |
| 44 | sparse-checkout-cone-mode: false | |
| 40 | 45 | |
| 41 | 46 | - name: Setup Vite+ |
| 42 | 47 | uses: voidzero-dev/setup-vp@v1 |
| 43 | 48 | with: |
| 44 | 49 | node-version-file: package.json |
| 45 | 50 | cache: true |
| 46 | run-install: true | |
| 51 | run-install: | | |
| 52 | args: | |
| 53 | - --filter=@t3tools/mobile... | |
| 54 | - --filter=@t3tools/scripts... | |
| 47 | 55 | |
| 48 | 56 | - name: Expose pnpm |
| 49 | 57 | run: | |
| ... | ... | @@ -77,13 +85,21 @@ jobs: |
| 77 | 85 | steps: |
| 78 | 86 | - name: Checkout |
| 79 | 87 | uses: actions/checkout@v6 |
| 88 | with: | |
| 89 | sparse-checkout: | | |
| 90 | /* | |
| 91 | !/.repos/ | |
| 92 | sparse-checkout-cone-mode: false | |
| 80 | 93 | |
| 81 | 94 | - name: Setup Vite+ |
| 82 | 95 | uses: voidzero-dev/setup-vp@v1 |
| 83 | 96 | with: |
| 84 | 97 | node-version-file: package.json |
| 85 | 98 | cache: true |
| 86 | run-install: true | |
| 99 | run-install: | | |
| 100 | args: | |
| 101 | - --filter=@t3tools/mobile... | |
| 102 | - --filter=@t3tools/scripts... | |
| 87 | 103 | |
| 88 | 104 | - name: Expose pnpm |
| 89 | 105 | run: | |
.github/workflows/release.yml+48-4| ... | ... | @@ -38,6 +38,10 @@ jobs: |
| 38 | 38 | uses: actions/checkout@v6 |
| 39 | 39 | with: |
| 40 | 40 | fetch-depth: 0 |
| 41 | sparse-checkout: | | |
| 42 | /* | |
| 43 | !/.repos/ | |
| 44 | sparse-checkout-cone-mode: false | |
| 41 | 45 | |
| 42 | 46 | - id: check |
| 43 | 47 | name: Compare HEAD to last nightly tag |
| ... | ... | @@ -84,6 +88,10 @@ jobs: |
| 84 | 88 | uses: actions/checkout@v6 |
| 85 | 89 | with: |
| 86 | 90 | fetch-depth: 0 |
| 91 | sparse-checkout: | | |
| 92 | /* | |
| 93 | !/.repos/ | |
| 94 | sparse-checkout-cone-mode: false | |
| 87 | 95 | |
| 88 | 96 | - name: Setup Vite+ |
| 89 | 97 | uses: voidzero-dev/setup-vp@v1 |
| ... | ... | @@ -192,6 +200,10 @@ jobs: |
| 192 | 200 | uses: actions/checkout@v6 |
| 193 | 201 | with: |
| 194 | 202 | ref: ${{ needs.preflight.outputs.ref }} |
| 203 | sparse-checkout: | | |
| 204 | /* | |
| 205 | !/.repos/ | |
| 206 | sparse-checkout-cone-mode: false | |
| 195 | 207 | |
| 196 | 208 | - name: Setup Vite+ |
| 197 | 209 | uses: voidzero-dev/setup-vp@v1 |
| ... | ... | @@ -269,14 +281,19 @@ jobs: |
| 269 | 281 | uses: actions/checkout@v6 |
| 270 | 282 | with: |
| 271 | 283 | ref: ${{ needs.preflight.outputs.ref }} |
| 272 | fetch-depth: 0 | |
| 284 | sparse-checkout: | | |
| 285 | /* | |
| 286 | !/.repos/ | |
| 287 | sparse-checkout-cone-mode: false | |
| 273 | 288 | |
| 274 | 289 | - name: Setup Vite+ |
| 275 | 290 | uses: voidzero-dev/setup-vp@v1 |
| 276 | 291 | with: |
| 277 | 292 | node-version-file: package.json |
| 278 | 293 | cache: true |
| 279 | run-install: true | |
| 294 | run-install: | | |
| 295 | args: | |
| 296 | - --filter=t3... | |
| 280 | 297 | |
| 281 | 298 | - name: Build node-pty linux-x64 prebuild |
| 282 | 299 | shell: bash |
| ... | ... | @@ -359,14 +376,21 @@ jobs: |
| 359 | 376 | uses: actions/checkout@v6 |
| 360 | 377 | with: |
| 361 | 378 | ref: ${{ needs.preflight.outputs.ref }} |
| 362 | fetch-depth: 0 | |
| 379 | sparse-checkout: | | |
| 380 | /* | |
| 381 | !/.repos/ | |
| 382 | sparse-checkout-cone-mode: false | |
| 363 | 383 | |
| 364 | 384 | - name: Setup Vite+ |
| 365 | 385 | uses: voidzero-dev/setup-vp@v1 |
| 366 | 386 | with: |
| 367 | 387 | node-version-file: package.json |
| 368 | 388 | cache: true |
| 369 | run-install: true | |
| 389 | run-install: | | |
| 390 | args: | |
| 391 | - --filter=@t3tools/desktop... | |
| 392 | - --filter=t3... | |
| 393 | - --filter=@t3tools/scripts... | |
| 370 | 394 | |
| 371 | 395 | - name: Setup Rust |
| 372 | 396 | uses: dtolnay/rust-toolchain@stable |
| ... | ... | @@ -657,6 +681,10 @@ jobs: |
| 657 | 681 | uses: actions/checkout@v6 |
| 658 | 682 | with: |
| 659 | 683 | ref: ${{ needs.preflight.outputs.ref }} |
| 684 | sparse-checkout: | | |
| 685 | /* | |
| 686 | !/.repos/ | |
| 687 | sparse-checkout-cone-mode: false | |
| 660 | 688 | |
| 661 | 689 | - name: Setup Vite+ |
| 662 | 690 | uses: voidzero-dev/setup-vp@v1 |
| ... | ... | @@ -732,6 +760,10 @@ jobs: |
| 732 | 760 | uses: actions/checkout@v6 |
| 733 | 761 | with: |
| 734 | 762 | ref: ${{ needs.preflight.outputs.ref }} |
| 763 | sparse-checkout: | | |
| 764 | /* | |
| 765 | !/.repos/ | |
| 766 | sparse-checkout-cone-mode: false | |
| 735 | 767 | |
| 736 | 768 | - name: Setup Vite+ |
| 737 | 769 | uses: voidzero-dev/setup-vp@v1 |
| ... | ... | @@ -853,6 +885,10 @@ jobs: |
| 853 | 885 | uses: actions/checkout@v6 |
| 854 | 886 | with: |
| 855 | 887 | ref: ${{ needs.preflight.outputs.ref }} |
| 888 | sparse-checkout: | | |
| 889 | /* | |
| 890 | !/.repos/ | |
| 891 | sparse-checkout-cone-mode: false | |
| 856 | 892 | |
| 857 | 893 | - name: Setup Vite+ |
| 858 | 894 | uses: voidzero-dev/setup-vp@v1 |
| ... | ... | @@ -967,6 +1003,10 @@ jobs: |
| 967 | 1003 | fetch-depth: 0 |
| 968 | 1004 | token: ${{ steps.app_token.outputs.token }} |
| 969 | 1005 | persist-credentials: true |
| 1006 | sparse-checkout: | | |
| 1007 | /* | |
| 1008 | !/.repos/ | |
| 1009 | sparse-checkout-cone-mode: false | |
| 970 | 1010 | |
| 971 | 1011 | - id: app_bot |
| 972 | 1012 | name: Resolve GitHub App bot identity |
| ... | ... | @@ -1037,6 +1077,10 @@ jobs: |
| 1037 | 1077 | uses: actions/checkout@v6 |
| 1038 | 1078 | with: |
| 1039 | 1079 | ref: ${{ needs.preflight.outputs.ref }} |
| 1080 | sparse-checkout: | | |
| 1081 | /* | |
| 1082 | !/.repos/ | |
| 1083 | sparse-checkout-cone-mode: false | |
| 1040 | 1084 | |
| 1041 | 1085 | - name: Setup Vite+ |
| 1042 | 1086 | uses: voidzero-dev/setup-vp@v1 |