From 50c4e9e7f4dc72ea3dbbf67bc5eb953eca1fab6b Mon Sep 17 00:00:00 2001 From: Michal Date: Mon, 9 Mar 2026 05:01:19 +0000 Subject: [PATCH] ci: clean node_modules before bun install for fresh resolution bun install on top of pnpm's nested node_modules fails to resolve workspace transitive deps (Ink, inquirer, etc). Remove node_modules first so bun creates a proper flat layout from scratch. Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4fc6916..9a1fc40 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -117,7 +117,8 @@ jobs: run: | mkdir -p dist # bun needs a flat node_modules (pnpm's strict layout breaks resolution) - # No bun.lockb in repo, so --frozen-lockfile is unreliable + # Remove pnpm's nested node_modules first so bun resolves fresh + rm -rf node_modules bun install # Stub for optional dep that bun tries to resolve if [ ! -e node_modules/react-devtools-core ]; then