Call turbo directly instead of through pnpm
Some checks failed
nix-bitcoin tests / build_test_drivers (push) Has been cancelled
nix-bitcoin tests / check_flake (push) Has been cancelled
nix-bitcoin tests / test_scenario (default) (push) Has been cancelled
nix-bitcoin tests / test_scenario (joinmarket-bitcoind-29) (push) Has been cancelled
nix-bitcoin tests / test_scenario (netns) (push) Has been cancelled
nix-bitcoin tests / test_scenario (netnsRegtest) (push) Has been cancelled

This commit is contained in:
Patrick Mulligan 2026-01-09 23:00:26 +01:00
parent 4f5b13e4f3
commit 104304507e

View file

@ -409,14 +409,16 @@ in
fi fi
echo "==> Installing dependencies with pnpm (without scripts)..." echo "==> Installing dependencies with pnpm (without scripts)..."
setsid pnpm install --no-frozen-lockfile --ignore-scripts pnpm install --no-frozen-lockfile --ignore-scripts
echo "==> Running native module builds..." echo "==> Running native module builds..."
# Run rebuild separately - this compiles native modules # Run rebuild separately - this compiles native modules
setsid pnpm rebuild || echo "Warning: Some native modules failed to build, continuing anyway..." pnpm rebuild || echo "Warning: Some native modules failed to build, continuing anyway..."
echo "==> Building project..." echo "==> Building project..."
setsid pnpm build # Bypass pnpm and call turbo directly to avoid pnpm signal handling issues
# See: https://github.com/pnpm/pnpm/issues/7374
./node_modules/.bin/turbo build
echo "==> Linking admin UI static files..." echo "==> Linking admin UI static files..."
cd packages/server cd packages/server