Skip to content

Commit 2b666f3

Browse files
authored
Fix CI for Companion (calcom#25886)
1 parent 7562ad2 commit 2b666f3

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

.github/workflows/companion-build.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,29 @@ jobs:
1414
name: Build Companion App & Extension
1515
runs-on: buildjet-4vcpu-ubuntu-2204
1616
timeout-minutes: 30
17+
1718
steps:
1819
- uses: actions/checkout@v4
1920
- uses: ./.github/actions/dangerous-git-checkout
20-
- name: Setup Node.js
21-
uses: actions/setup-node@v4
21+
22+
- name: Setup Bun
23+
uses: oven-sh/setup-bun@v1
2224
with:
23-
node-version: 20
24-
cache: npm
25+
bun-version: 1.3.0
26+
cache: true
2527
cache-dependency-path: companion/bun.lock
28+
2629
- name: Install dependencies
2730
working-directory: companion
28-
run: npm ci
31+
run: bun install --frozen-lockfile
32+
2933
- name: Build Expo web app
3034
working-directory: companion
3135
env:
3236
EXPO_NO_TELEMETRY: 1
3337
CI: true
34-
run: npx expo export --platform web
38+
run: bunx expo export --platform web
39+
3540
- name: Build browser extension
3641
working-directory: companion
37-
run: npm run ext:build
42+
run: bun run ext:build

0 commit comments

Comments
 (0)