From 2b666f3e916c1a0235faac2af5cf0eef1a8b587e Mon Sep 17 00:00:00 2001 From: Volnei Munhoz Date: Mon, 15 Dec 2025 12:22:35 -0300 Subject: [PATCH] Fix CI for Companion (#25886) --- .github/workflows/companion-build.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/companion-build.yml b/.github/workflows/companion-build.yml index 04e96acbbe..da6913a1a3 100644 --- a/.github/workflows/companion-build.yml +++ b/.github/workflows/companion-build.yml @@ -14,24 +14,29 @@ jobs: name: Build Companion App & Extension runs-on: buildjet-4vcpu-ubuntu-2204 timeout-minutes: 30 + steps: - uses: actions/checkout@v4 - uses: ./.github/actions/dangerous-git-checkout - - name: Setup Node.js - uses: actions/setup-node@v4 + + - name: Setup Bun + uses: oven-sh/setup-bun@v1 with: - node-version: 20 - cache: npm + bun-version: 1.3.0 + cache: true cache-dependency-path: companion/bun.lock + - name: Install dependencies working-directory: companion - run: npm ci + run: bun install --frozen-lockfile + - name: Build Expo web app working-directory: companion env: EXPO_NO_TELEMETRY: 1 CI: true - run: npx expo export --platform web + run: bunx expo export --platform web + - name: Build browser extension working-directory: companion - run: npm run ext:build + run: bun run ext:build