From 35cfac3f5a4be0949390ce4900e737735b8c2f2c Mon Sep 17 00:00:00 2001 From: Michal Date: Sun, 8 Mar 2026 23:03:04 +0000 Subject: [PATCH] ci: run bun install before compile (pnpm strict layout fix) bun can't resolve transitive deps through pnpm's symlinked node_modules. Running bun install creates a flat layout bun can resolve from. Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3bce5d7..aa3b6a9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -116,6 +116,8 @@ jobs: - name: Bundle standalone binaries run: | mkdir -p dist + # bun needs a flat node_modules (pnpm's strict layout breaks resolution) + bun install --frozen-lockfile # Stub for optional dep that bun tries to resolve if [ ! -e node_modules/react-devtools-core ]; then ln -s ../src/cli/stubs/react-devtools-core node_modules/react-devtools-core