diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 710330e..c5780fc 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -120,8 +120,10 @@ jobs: run: | mkdir -p dist # 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 + # Copy instead of symlink — bun can't read directory symlinks + if [ ! -e node_modules/react-devtools-core/package.json ]; then + rm -rf node_modules/react-devtools-core + cp -r src/cli/stubs/react-devtools-core node_modules/react-devtools-core fi bun build src/cli/src/index.ts --compile --outfile dist/mcpctl bun build src/mcplocal/src/main.ts --compile --outfile dist/mcpctl-local