Skip to content

Commit a705f14

Browse files
authored
Update bench-run.sh
1 parent d7d260e commit a705f14

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/bench-run.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ setup-yarn2-pnpm() {
5757
"compressionLevel: 0"
5858
}
5959

60+
setup-pnpm() {
61+
>> "$BENCH_DIR/.npmrc" echo \
62+
"strict-peer-dependencies=false"
63+
}
64+
6065
case $PACKAGE_MANAGER in
6166
classic)
6267
bench install-full-cold \
@@ -120,6 +125,7 @@ case $PACKAGE_MANAGER in
120125
'yarn add dummy-pkg@link:./dummy-pkg'
121126
;;
122127
npm)
128+
setup-pnpm
123129
bench install-full-cold \
124130
--prepare 'rm -rf node_modules package-lock.json && npm cache clean --force' \
125131
'npm install'

0 commit comments

Comments
 (0)