Skip to content

Commit a819a13

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

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

langchain-js/run.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,17 @@ 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
3940
export JEST_JUNIT_OUTPUT_NAME=results.xml
4041
# Trim trailing slashes since lanchainjs is doing string manipulationn, not
4142
# using the URI class.
@@ -50,4 +51,4 @@ setup_remote_atlas
5051
setup_node_and_yarn
5152
setup_langchain_integration
5253

53-
yarn test:int --reporters=default --reporters=jest-junit
54+
pnpm test:int --reporter=default

0 commit comments

Comments
 (0)