Honour `NEXT_TEST_PREFER_OFFLINE` in `install-native.mjs` (#85850)
The `scripts/install-native.mjs` script is run in the postinstall step of the Next.js monorepo to install the published binary packages of the latest Next.js canary version. This change makes the script respect the `NEXT_TEST_PREFER_OFFLINE` environment variable, allowing it to prefer installing previously downloaded packages from the local cache. This is useful for scenarios where network access is limited or unavailable.
Showing
Please
register
or
sign in
to comment