From 033f757c66984f28cd6e227ad339b04992f9a4e9 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sun, 31 May 2026 20:45:59 +0200 Subject: [PATCH] Use legacy-peer-deps when installing the SWC Linux binary in CI The explicit @swc/core-linux-x64-gnu install re-resolved the tree and hit the pre-existing lucide-react/react-19 peer conflict that the lockfile was generated around. Add --legacy-peer-deps so the step matches the project's resolution and installs the binary. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 081285f0..c58fbf9f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -58,7 +58,7 @@ jobs: # (server/vitest.config.ts) can load. run: | SWC_VERSION=$(node -p "require('@swc/core/package.json').version") - npm install --no-save --no-package-lock "@swc/core-linux-x64-gnu@$SWC_VERSION" + npm install --no-save --no-package-lock --legacy-peer-deps "@swc/core-linux-x64-gnu@$SWC_VERSION" - name: Build shared run: npm run build --workspace=shared