Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: delete global folder in benchmarks #5523

Merged
merged 1 commit into from
Jun 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions scripts/bench-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@ case $PACKAGE_MANAGER in
;;
yarn)
setup-yarn2
# TODO: Use `yarn cache clean` instead of manually removing the npm metadata once the feature is implemented
bench install-full-cold \
--prepare 'rm -rf .yarn .pnp.* yarn.lock "$(yarn config get globalFolder)/npm-metadata" && yarn cache clean --all' \
--prepare 'rm -rf .yarn .pnp.* yarn.lock .yarn-global' \
'yarn install'
bench install-cache-only \
--prepare 'rm -rf .yarn .pnp.* yarn.lock' \
Expand All @@ -96,9 +95,8 @@ case $PACKAGE_MANAGER in
yarn-nm)
setup-yarn2
setup-yarn2-nm
# TODO: Use `yarn cache clean` instead of manually removing the npm metadata once the feature is implemented
bench install-full-cold \
--prepare 'rm -rf .yarn node_modules yarn.lock "$(yarn config get globalFolder)/npm-metadata" && yarn cache clean --all' \
--prepare 'rm -rf .yarn node_modules yarn.lock .yarn-global' \
'yarn install'
bench install-cache-only \
--prepare 'rm -rf .yarn node_modules yarn.lock' \
Expand All @@ -113,9 +111,8 @@ case $PACKAGE_MANAGER in
yarn-pnpm)
setup-yarn2
setup-yarn2-pnpm
# TODO: Use `yarn cache clean` instead of manually removing the npm metadata once the feature is implemented
bench install-full-cold \
--prepare 'rm -rf .yarn node_modules yarn.lock "$(yarn config get globalFolder)/npm-metadata" && yarn cache clean --all' \
--prepare 'rm -rf .yarn node_modules yarn.lock .yarn-global' \
'yarn install'
bench install-cache-only \
--prepare 'rm -rf .yarn node_modules yarn.lock' \
Expand Down