Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Nov 30, 2024
1 parent 34f7d4d commit 17dcbdc
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ 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"
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ 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.
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ 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.
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ 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.
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ 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.
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
Expand Down

0 comments on commit 17dcbdc

Please sign in to comment.