Open History to see the last commit
1name: CI
2
3on:
4 pull_request:
5 push:
6 branches:
7 - main
8
9jobs:
10 check:
11 name: Check
12 runs-on: blacksmith-8vcpu-ubuntu-2404
13 timeout-minutes: 10
14 steps:
15 - name: Checkout
16 uses: actions/checkout@v6
17
18 - name: Setup Vite+
19 uses: voidzero-dev/setup-vp@v1
20 with:
21 node-version-file: package.json
22 cache: true
23 run-install: true
24
25 - name: Ensure Electron runtime is installed
26 run: vp run --filter @t3tools/desktop ensure:electron
27
28 - name: Check
29 run: vp check
30
31 - name: 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 grep -n "__clerk_internal_electron_passkeys" apps/desktop/dist-electron/preload.cjs
42
43 test:
44 name: Test
45 runs-on: blacksmith-8vcpu-ubuntu-2404
46 timeout-minutes: 10
47 steps:
48 - name: Checkout
49 uses: actions/checkout@v6
50
51 - name: Setup Vite+
52 uses: voidzero-dev/setup-vp@v1
53 with:
54 node-version-file: package.json
55 cache: true
56 run-install: true
57
58 - name: Ensure Electron runtime is installed
59 run: vp run --filter @t3tools/desktop ensure:electron
60
61 - name: Test
62 run: vp run test
63
64 mobile_native_static_analysis:
65 name: Mobile Native Static Analysis
66 runs-on: blacksmith-12vcpu-macos-26
67 timeout-minutes: 10
68 steps:
69 - name: Checkout
70 uses: actions/checkout@v6
71
72 - name: Setup Vite+
73 uses: voidzero-dev/setup-vp@v1
74 with:
75 node-version-file: package.json
76 cache: true
77 run-install: true
78
79 - name: Install mobile native static analysis tools
80 run: brew bundle install --file apps/mobile/Brewfile
81
82 - name: Lint mobile native sources
83 run: vp run lint:mobile
84
85 release_smoke:
86 name: Release Smoke
87 runs-on: blacksmith-8vcpu-ubuntu-2404
88 timeout-minutes: 10
89 steps:
90 - name: Checkout
91 uses: actions/checkout@v6
92
93 - name: Setup Vite+
94 uses: voidzero-dev/setup-vp@v1
95 with:
96 node-version-file: package.json
97 cache: true
98 run-install: true
99
100 - name: Exercise release-only workflow steps
101 run: node scripts/release-smoke.ts