3434 desktop:
3535 - '.gitattributes'
3636 - '.github/actions/install-desktop-deps/**'
37+ - '.github/actions/setup-js/**'
3738 - '.github/workflows/ci.yml'
3839 - 'apps/cli/**'
3940 - 'apps/desktop/**'
5253 - 'scripts/verify-gpui-release-inputs.mjs'
5354 - 'Cargo.toml'
5455 - 'Cargo.lock'
55- - 'pnpm-lock.yaml'
56+ - 'bun.lock'
57+ - 'bunfig.toml'
58+ - 'package.json'
5659 rust:
5760 - '.cargo/**'
5861 - '.github/**'
6467 - 'Cargo.lock'
6568 tauri-plugins:
6669 - 'Cargo.lock'
67- - 'pnpm-lock.yaml'
70+ - 'bun.lock'
71+ - 'scripts/check-tauri-plugin-versions*'
72+ - 'apps/desktop/package.json'
6873
6974 - name : Output branch name
7075 id : branch
@@ -80,10 +85,25 @@ jobs:
8085
8186 - uses : ./.github/actions/setup-js
8287
83- - run : pnpm web exec next typegen
88+ - run : bun run --cwd apps/web next typegen
89+
90+ - name : Test workspace tooling
91+ run : node --test scripts/bun-scripts.test.mjs scripts/check-tauri-plugin-versions.test.mjs
92+
93+ - name : Test web React compatibility
94+ run : >-
95+ bun run --cwd apps/web test
96+ __tests__/unit/embed-video-playback-chrome.test.ts
97+ __tests__/unit/homepage-demo-accessibility.test.ts
98+ __tests__/unit/linkified-text.test.ts
99+ __tests__/unit/loom-import-ui.test.ts
100+ __tests__/unit/media-player-store-refs.test.ts
101+ __tests__/unit/signed-baa-card.test.ts
102+ __tests__/unit/summary-editor.test.ts
103+ __tests__/unit/sso-login-pages.test.ts
84104
85105 - name : Typecheck
86- run : pnpm typecheck
106+ run : bun run typecheck
87107
88108 mobile :
89109 name : Mobile
@@ -97,19 +117,19 @@ jobs:
97117 - name : Check Expo dependencies
98118 env :
99119 EXPO_OFFLINE : " 1"
100- run : pnpm --dir apps/mobile exec expo install --check
120+ run : bun run --cwd apps/mobile expo install --check
101121
102122 - name : Run Expo Doctor
103123 env :
104124 EXPO_OFFLINE : " 1"
105125 working-directory : apps/mobile
106- run : pnpm dlx expo-doctor@1.20.1
126+ run : bunx expo-doctor@1.20.1
107127
108128 - name : Typecheck
109- run : pnpm --dir apps/mobile typecheck
129+ run : bun run --cwd apps/mobile typecheck
110130
111131 - name : Test
112- run : pnpm --dir apps/mobile test
132+ run : bun run --cwd apps/mobile test
113133
114134 format-biome :
115135 name : Format (Biome)
@@ -271,7 +291,7 @@ jobs:
271291
272292 - name : Run cap-setup
273293 shell : bash
274- run : pnpm -w cap-setup
294+ run : bun run cap-setup
275295 env :
276296 RUST_TARGET_TRIPLE : ${{ matrix.settings.target }}
277297
@@ -284,7 +304,7 @@ jobs:
284304 shell : bash
285305 run : |
286306 node --test scripts/linux-bundle-config.test.mjs scripts/finalize-linux-appimage.test.mjs
287- pnpm --dir apps/desktop exec vitest run scripts/prepare.test.js
307+ bun run --cwd apps/desktop vitest run scripts/prepare.test.js
288308 cargo test --locked -p cap-utils -p cap-cli-install --lib
289309 cargo test --locked -p cap --bin cap record::tests
290310 cargo test --locked -p cap-recording --lib -- --test-threads=1
@@ -317,7 +337,7 @@ jobs:
317337
318338 - name : Build app
319339 working-directory : apps/desktop
320- run : pnpm tauri build --debug --target ${{ matrix.settings.target }} --no-bundle
340+ run : bun run tauri build --debug --target ${{ matrix.settings.target }} --no-bundle
321341 env :
322342 LD_LIBRARY_PATH : ${{ runner.os == 'Linux' && format('{0}/target/native-deps/lib:{0}/target/debug:{0}/target/{1}/debug', github.workspace, matrix.settings.target) || '' }}
323343 RUST_TARGET_TRIPLE : ${{ matrix.settings.target }}
@@ -331,10 +351,7 @@ jobs:
331351 - name : Checkout
332352 uses : actions/checkout@v4
333353
334- - name : Setup node
335- uses : actions/setup-node@v3
336- with :
337- node-version : 20
354+ - uses : ./.github/actions/setup-js
338355
339356 - name : Run verify
340357 shell : bash
0 commit comments