ci: use shamefully-hoist for bun compile compatibility
Some checks failed
CI/CD / typecheck (push) Successful in 44s
CI/CD / test (push) Successful in 55s
CI/CD / lint (push) Successful in 10m55s
CI/CD / build (push) Failing after 54s
CI/CD / docker (push) Has been skipped
CI/CD / publish-rpm (push) Has been skipped
CI/CD / deploy (push) Has been skipped

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 <noreply@anthropic.com>
This commit is contained in:
Michal
2026-03-09 06:57:09 +00:00
parent 9ec4148071
commit 75724d0f30

View File

@@ -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