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 e8d0dc3 commit 34f7d4d
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ jobs:
if: contains(needs.get-changed-files.outputs.changed_files, 'langchain/') || contains(needs.get-changed-files.outputs.changed_files, 'langchain-core/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-openai/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-textsplitters/')
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
Expand All @@ -69,8 +67,6 @@ jobs:
if: contains(needs.get-changed-files.outputs.changed_files, 'langchain/')
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
Expand All @@ -86,8 +82,6 @@ jobs:
# if: contains(needs.get-changed-files.outputs.changed_files, 'langchain-core/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-openai/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-community/')
# steps:
# - uses: actions/checkout@v4
# - name: Enable Corepack
# run: corepack enable
# - name: Use Node.js ${{ env.NODE_VERSION }}
# uses: actions/setup-node@v3
# with:
Expand All @@ -106,8 +100,6 @@ jobs:
# if: contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-community/')
# steps:
# - uses: actions/checkout@v4
# - name: Enable Corepack
# run: corepack enable
# - name: Use Node.js ${{ env.NODE_VERSION }}
# uses: actions/setup-node@v3
# with:
Expand All @@ -124,8 +116,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
Expand All @@ -145,8 +135,6 @@ jobs:
if: contains(needs.get-changed-files.outputs.changed_files, 'langchain-core/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-openai/')
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
Expand All @@ -165,8 +153,6 @@ jobs:
if: contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-openai/')
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
Expand All @@ -186,8 +172,6 @@ jobs:
if: contains(needs.get-changed-files.outputs.changed_files, 'langchain-core/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-anthropic/')
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
Expand All @@ -206,8 +190,6 @@ jobs:
if: contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-anthropic/')
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
Expand All @@ -227,8 +209,6 @@ jobs:
if: contains(needs.get-changed-files.outputs.changed_files, 'langchain-core/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-google-vertexai/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-google-gauth/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-google-common/')
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
Expand All @@ -247,8 +227,6 @@ jobs:
if: contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-google-vertexai/')
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
Expand All @@ -268,8 +246,6 @@ jobs:
if: contains(needs.get-changed-files.outputs.changed_files, 'langchain-core/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-cohere/')
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
Expand All @@ -288,8 +264,6 @@ jobs:
if: contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-cohere/')
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ 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 @@ -18,6 +18,7 @@ cp "$original_updater_script_dir"/* "$updater_script_dir/"

# 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 @@ -26,6 +26,7 @@ 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 @@ -19,6 +19,7 @@ cp "$original_updater_script_dir"/* "$updater_script_dir/"

# 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 @@ -25,5 +25,6 @@ node "update_resolutions_npm.js"

# Navigate back to monorepo root and install dependencies
cd "$monorepo_dir"
corepack enable
npm install @langchain/core --production
npm install --production
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ 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 @@ -19,6 +19,7 @@ cp "$original_updater_script_dir"/* "$updater_script_dir/"

# 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 @@ -26,6 +26,7 @@ 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 @@ -19,6 +19,7 @@ cp "$original_updater_script_dir"/* "$updater_script_dir/"

# 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 @@ -26,6 +26,7 @@ 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
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ bash /scripts/with_standard_tests/shared.sh openai
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"
yarn
Expand Down

0 comments on commit 34f7d4d

Please sign in to comment.