From 32c98536b5780ca3704e35d28a0158b8efef1262 Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Wed, 4 Feb 2026 23:50:10 +0700 Subject: [PATCH] Fix Server CI git refs for worktree tests --- .github/workflows/server-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/server-ci.yml b/.github/workflows/server-ci.yml index af9dc117b..6e3e2f229 100644 --- a/.github/workflows/server-ci.yml +++ b/.github/workflows/server-ci.yml @@ -22,12 +22,17 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-node@v4 with: node-version: '20' cache: 'npm' + - name: Fetch origin/main (worktree tests) + run: git fetch --no-tags origin main:refs/remotes/origin/main + - name: Install server dependencies run: npm install --workspace=@paseo/server --include-workspace-root