ci: use pnpm node-gyp for manylinux rebuild

This commit is contained in:
_Kerman
2026-08-13 18:13:03 +08:00
parent a785eb80f7
commit b11b5359f9
2 changed files with 2 additions and 2 deletions

View File

@@ -194,7 +194,7 @@ jobs:
*) echo "::error::Unsupported Linux runner architecture $RUNNER_ARCH"; exit 1 ;;
esac
addon_dir="$(realpath packages/subprocess/subprocess-local/node_modules/node-pty)"
(cd "$addon_dir" && npm_config_build_from_source=true npm run install)
(cd "$addon_dir" && npm_config_build_from_source=true pnpm run install)
addon="$addon_dir/build/Release/pty.node"
[ -f "$addon_dir/build/Makefile" ] || {
echo "::error::node-pty install did not generate $addon_dir/build/Makefile"