mirror of https://github.com/zulip/zulip.git
node_cache: Invoke pnpm via corepack.
This avoids prompting the user that corepack is about to download pnpm. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
2c13d0e43d
commit
708c3e7182
|
@ -18,7 +18,8 @@ def setup_node_modules(production: bool = DEFAULT_PRODUCTION) -> None:
|
||||||
|
|
||||||
run(
|
run(
|
||||||
[
|
[
|
||||||
"/usr/local/bin/pnpm",
|
"/usr/local/bin/corepack",
|
||||||
|
"pnpm",
|
||||||
"install",
|
"install",
|
||||||
"--frozen-lockfile",
|
"--frozen-lockfile",
|
||||||
"--prefer-offline",
|
"--prefer-offline",
|
||||||
|
|
Loading…
Reference in New Issue