diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index b52bd647..ac0ebf65 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -16,7 +16,11 @@ allowBuilds: msgpackr-extract: false nice-napi: false oracledb: false - phantomjs-prebuilt: true + # phantomjs-prebuilt (deprecated) downloads and extracts a binary from GitHub + # releases in its postinstall, which fails to extract on macOS/Windows and + # breaks CI. That postinstall only generates lib/location.js, which the trace + # test does not need. Skip the build so installs are reliable everywhere. + phantomjs-prebuilt: false protobufjs: false sharp: false unix-dgram: false diff --git a/test/unit/phantomjs-prebuilt/output.js b/test/unit/phantomjs-prebuilt/output.js index 6f4dd301..37611aec 100644 --- a/test/unit/phantomjs-prebuilt/output.js +++ b/test/unit/phantomjs-prebuilt/output.js @@ -2,7 +2,6 @@ "node_modules/es6-promise/dist/es6-promise.js", "node_modules/es6-promise/package.json", "node_modules/phantomjs-prebuilt/bin/phantomjs", - "node_modules/phantomjs-prebuilt/lib/location.js", "node_modules/phantomjs-prebuilt/lib/phantomjs.js", "node_modules/phantomjs-prebuilt/package.json", "package.json",