diff --git a/dependency_range_tests/scripts/with_standard_tests/anthropic/test-with-latest-deps.sh b/dependency_range_tests/scripts/with_standard_tests/anthropic/test-with-latest-deps.sh index 8685bb1c3ca4..a1530e681273 100644 --- a/dependency_range_tests/scripts/with_standard_tests/anthropic/test-with-latest-deps.sh +++ b/dependency_range_tests/scripts/with_standard_tests/anthropic/test-with-latest-deps.sh @@ -19,7 +19,11 @@ bash /scripts/with_standard_tests/shared.sh anthropic mkdir -p "$updater_script_dir" cp "$original_updater_script_dir"/* "$updater_script_dir/" + +corepack enable + cd "$updater_script_dir" + # Update any workspace dep to the latest version since not all workspaces are # available in the test enviroment. node "update_workspace_deps.js" @@ -27,7 +31,6 @@ node "update_resolutions_latest.js" # Navigate back to monorepo root and install dependencies cd "$monorepo_dir" -corepack enable yarn # Navigate into `@langchain/anthropic` to build and run tests diff --git a/dependency_range_tests/scripts/with_standard_tests/anthropic/test-with-lowest-deps.sh b/dependency_range_tests/scripts/with_standard_tests/anthropic/test-with-lowest-deps.sh index bb6bc5c15466..32cdea5896ca 100644 --- a/dependency_range_tests/scripts/with_standard_tests/anthropic/test-with-lowest-deps.sh +++ b/dependency_range_tests/scripts/with_standard_tests/anthropic/test-with-lowest-deps.sh @@ -16,9 +16,10 @@ bash /scripts/with_standard_tests/shared.sh anthropic mkdir -p "$updater_script_dir" cp "$original_updater_script_dir"/* "$updater_script_dir/" +corepack enable + # Install deps (e.g semver) for the updater script cd "$updater_script_dir" -corepack enable yarn # Run the updater script node "update_workspace_deps.js" diff --git a/dependency_range_tests/scripts/with_standard_tests/cohere/test-with-latest-deps.sh b/dependency_range_tests/scripts/with_standard_tests/cohere/test-with-latest-deps.sh index 73f2c76f7a94..bc2addca6898 100644 --- a/dependency_range_tests/scripts/with_standard_tests/cohere/test-with-latest-deps.sh +++ b/dependency_range_tests/scripts/with_standard_tests/cohere/test-with-latest-deps.sh @@ -19,6 +19,9 @@ bash /scripts/with_standard_tests/shared.sh cohere mkdir -p "$updater_script_dir" cp "$original_updater_script_dir"/* "$updater_script_dir/" + +corepack enable + cd "$updater_script_dir" # Update any workspace dep to the latest version since not all workspaces are # available in the test enviroment. @@ -26,7 +29,6 @@ node "update_resolutions_latest.js" # Navigate back to monorepo root and install dependencies cd "$monorepo_dir" -corepack enable yarn # Navigate into `@langchain/cohere` to build and run tests diff --git a/dependency_range_tests/scripts/with_standard_tests/cohere/test-with-lowest-deps.sh b/dependency_range_tests/scripts/with_standard_tests/cohere/test-with-lowest-deps.sh index 43f6963349fd..c41a3f83579c 100644 --- a/dependency_range_tests/scripts/with_standard_tests/cohere/test-with-lowest-deps.sh +++ b/dependency_range_tests/scripts/with_standard_tests/cohere/test-with-lowest-deps.sh @@ -17,9 +17,10 @@ bash /scripts/with_standard_tests/shared.sh cohere mkdir -p "$updater_script_dir" cp "$original_updater_script_dir"/* "$updater_script_dir/" +corepack enable + # Install deps (e.g semver) for the updater script cd "$updater_script_dir" -corepack enable yarn # Run the updater script node "update_resolutions_lowest.js" diff --git a/dependency_range_tests/scripts/with_standard_tests/community/test-with-latest-deps.sh b/dependency_range_tests/scripts/with_standard_tests/community/test-with-latest-deps.sh index 4716df30dc50..ca3291fb2fcf 100644 --- a/dependency_range_tests/scripts/with_standard_tests/community/test-with-latest-deps.sh +++ b/dependency_range_tests/scripts/with_standard_tests/community/test-with-latest-deps.sh @@ -19,6 +19,9 @@ bash /scripts/with_standard_tests/shared.sh community mkdir -p "$updater_script_dir" cp "$original_updater_script_dir"/* "$updater_script_dir/" + +corepack enable + cd "$updater_script_dir" # Update any workspace dep to the latest version since not all workspaces are # available in the test enviroment. @@ -26,7 +29,6 @@ node "update_resolutions_latest.js" # Navigate back to monorepo root and install dependencies cd "$monorepo_dir" -corepack enable yarn # Navigate into `@langchain/community` to build and run tests diff --git a/dependency_range_tests/scripts/with_standard_tests/community/test-with-lowest-deps.sh b/dependency_range_tests/scripts/with_standard_tests/community/test-with-lowest-deps.sh index f504cbe5c29f..6e978912ba6b 100644 --- a/dependency_range_tests/scripts/with_standard_tests/community/test-with-lowest-deps.sh +++ b/dependency_range_tests/scripts/with_standard_tests/community/test-with-lowest-deps.sh @@ -17,9 +17,10 @@ bash /scripts/with_standard_tests/shared.sh community mkdir -p "$updater_script_dir" cp "$original_updater_script_dir"/* "$updater_script_dir/" +corepack enable + # Install deps (e.g semver) for the updater script cd "$updater_script_dir" -corepack enable yarn # Run the updater script node "update_resolutions_lowest.js" diff --git a/dependency_range_tests/scripts/with_standard_tests/google-vertexai/test-with-latest-deps.sh b/dependency_range_tests/scripts/with_standard_tests/google-vertexai/test-with-latest-deps.sh index a5798c824011..fb344a5041f0 100644 --- a/dependency_range_tests/scripts/with_standard_tests/google-vertexai/test-with-latest-deps.sh +++ b/dependency_range_tests/scripts/with_standard_tests/google-vertexai/test-with-latest-deps.sh @@ -19,6 +19,9 @@ bash /scripts/with_standard_tests/shared.sh google-vertexai mkdir -p "$updater_script_dir" cp "$original_updater_script_dir"/* "$updater_script_dir/" + +corepack enable + cd "$updater_script_dir" # Update any workspace dep to the latest version since not all workspaces are # available in the test enviroment. @@ -26,7 +29,6 @@ node "update_resolutions_latest.js" # Navigate back to monorepo root and install dependencies cd "$monorepo_dir" -corepack enable yarn # Navigate into `@langchain/google-vertexai` to build and run tests diff --git a/dependency_range_tests/scripts/with_standard_tests/google-vertexai/test-with-lowest-deps.sh b/dependency_range_tests/scripts/with_standard_tests/google-vertexai/test-with-lowest-deps.sh index 8a9980866967..91c19b898bb9 100644 --- a/dependency_range_tests/scripts/with_standard_tests/google-vertexai/test-with-lowest-deps.sh +++ b/dependency_range_tests/scripts/with_standard_tests/google-vertexai/test-with-lowest-deps.sh @@ -17,9 +17,10 @@ bash /scripts/with_standard_tests/shared.sh google-vertexai mkdir -p "$updater_script_dir" cp "$original_updater_script_dir"/* "$updater_script_dir/" +corepack enable + # Install deps (e.g semver) for the updater script cd "$updater_script_dir" -corepack enable yarn # Run the updater script node "update_resolutions_lowest.js" diff --git a/dependency_range_tests/scripts/with_standard_tests/openai/test-with-latest-deps.sh b/dependency_range_tests/scripts/with_standard_tests/openai/test-with-latest-deps.sh index f8d51c145559..a28088623170 100644 --- a/dependency_range_tests/scripts/with_standard_tests/openai/test-with-latest-deps.sh +++ b/dependency_range_tests/scripts/with_standard_tests/openai/test-with-latest-deps.sh @@ -19,6 +19,9 @@ bash /scripts/with_standard_tests/shared.sh openai mkdir -p "$updater_script_dir" cp "$original_updater_script_dir"/* "$updater_script_dir/" + +corepack enable + cd "$updater_script_dir" # Update any workspace dep to the latest version since not all workspaces are # available in the test enviroment. @@ -26,7 +29,6 @@ node "update_resolutions_latest.js" # Navigate back to monorepo root and install dependencies cd "$monorepo_dir" -corepack enable yarn # Navigate into `@langchain/openai` to build and run tests