From 29c4b9120f638796d26cd353acad3996932c2e25 Mon Sep 17 00:00:00 2001 From: Anthony Shew Date: Sun, 8 Dec 2024 21:44:33 -0700 Subject: [PATCH] WIP --- turborepo-tests/helpers/setup_example_test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/turborepo-tests/helpers/setup_example_test.sh b/turborepo-tests/helpers/setup_example_test.sh index 2ef62c2824922..66d25057991eb 100644 --- a/turborepo-tests/helpers/setup_example_test.sh +++ b/turborepo-tests/helpers/setup_example_test.sh @@ -23,11 +23,11 @@ echo "node --version: $(node --version)" # Use the right command for each package manager if [ "$package_manager" == "npm" ]; then - package_manager_command="npx @turbo/workspaces convert . npm || true && npm install" + package_manager_command="bash -c 'npx @turbo/workspaces convert . npm || true' && npm install" elif [ "$package_manager" == "pnpm" ]; then - package_manager_command="npx @turbo/workspaces convert . pnpm || true && pnpm install" + package_manager_command="bash -c 'npx @turbo/workspaces convert . pnpm || true' && pnpm install" elif [ "$package_manager" == "yarn" ]; then - package_manager_command="npx @turbo/workspaces convert . yarn || true && yarn" + package_manager_command="bash -c 'npx @turbo/workspaces convert . yarn || true' && yarn" fi # All examples implement these two tasks