From 75724d0f30a4ffe3606075d5021d02fd25816358 Mon Sep 17 00:00:00 2001 From: Michal Date: Mon, 9 Mar 2026 06:57:09 +0000 Subject: [PATCH] ci: use shamefully-hoist for bun compile compatibility Bun's bundler can't follow pnpm's nested symlink layout to resolve transitive dependencies of workspace packages (e.g. ink's yoga-layout, react-reconciler). Adding shamefully-hoist=true creates a flat node_modules layout that bun can resolve from, matching the behavior of the local dev environment. Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3d81ce3..df73954 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -95,7 +95,10 @@ jobs: node-version: 20 cache: pnpm - - run: pnpm install --frozen-lockfile + - name: Install dependencies (hoisted for bun compile compatibility) + run: | + echo "shamefully-hoist=true" >> .npmrc + pnpm install --frozen-lockfile - name: Generate Prisma client run: pnpm --filter @mcpctl/db exec prisma generate