Skip to content

Commit d53762e

Browse files
committed
test(NODE-7278): update langchainjs location
1 parent 888ccca commit d53762e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

langchain-js/run.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,18 @@ setup_node_and_yarn() {
2626
export PATH
2727
export npm_config_prefix
2828

29-
npm install --global yarn
29+
npm install -g pnpm@latest-10
30+
npm install --global corepack --force
31+
corepack enable
3032
}
3133

3234
setup_langchain_integration() {
33-
cd libs/langchain-mongodb
35+
cd libs/providers/langchain-mongodb
3436

35-
yarn install
36-
yarn build
37+
pnpm install
38+
pnpm build
3739

38-
yarn add --dev jest-junit
40+
pnpm add --save-dev jest-junit
3941
export JEST_JUNIT_OUTPUT_NAME=results.xml
4042
# Trim trailing slashes since lanchainjs is doing string manipulationn, not
4143
# using the URI class.

0 commit comments

Comments
 (0)