From e8a64fb569ffab2588f63823fc63e29872477574 Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Mon, 4 May 2026 00:40:38 +0700 Subject: [PATCH] ci: build server before desktop tests f0d96f8e added packages/desktop/src/daemon/daemon-manager.test.ts, which calls vi.mock("@getpaseo/server", ...). Vite's module resolution still needs to find the package's main entry, so desktop CI must build the server (and its dependency chain) before running the tests. Mirrors the prebuild steps used by typecheck, server-tests, and playwright. --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9fc3bfc95..cb5974abf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -155,6 +155,15 @@ jobs: - name: Install dependencies run: npm install + - name: Build highlight dependency + run: npm run build --workspace=@getpaseo/highlight + + - name: Build relay dependency + run: npm run build --workspace=@getpaseo/relay + + - name: Build server dependency + run: npm run build --workspace=@getpaseo/server + - name: Run desktop tests run: npm run test --workspace=@getpaseo/desktop