From 76a2956607687c2cdc0e4e531c35b98a51a05fac Mon Sep 17 00:00:00 2001 From: Michal Date: Mon, 9 Mar 2026 06:07:45 +0000 Subject: [PATCH] ci: use pnpm node_modules directly for bun compile (match local build) The local build-rpm.sh successfully uses pnpm's node_modules with bun compile. The CI was unnecessarily replacing node_modules with bun install, which broke transitive workspace dependency resolution. Match the working local approach instead. Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 460abe3..79c33eb 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -116,11 +116,7 @@ jobs: - name: Bundle standalone binaries run: | mkdir -p dist - # bun needs a flat node_modules (pnpm's strict layout breaks resolution) - # 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 + # Stub for optional dep that Ink tries to import (only used when DEV=true) if [ ! -e node_modules/react-devtools-core ]; then ln -s ../src/cli/stubs/react-devtools-core node_modules/react-devtools-core fi