Skip to content

Commit f2c0fcb

Browse files
committed
cr
1 parent cf75026 commit f2c0fcb

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

β€Ž.github/workflows/unit-tests-integrations.ymlβ€Ž

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,16 @@ jobs:
117117
# FIXME: we shouldn't need this, but it's a workaround for a bug in the
118118
# build system/ turbo where core doesn't get built.
119119
- name: Build '@langchain/core' package
120-
run: pnpm build --filter @langchain/core
120+
run: |
121+
cd libs/langchain-core
122+
pnpm build
121123
# Running `test:unit:ci` from root will build first, however debugging
122124
# in CI is easier if we separate the build step from the test step.
123125
- name: Build '@langchain/${{ matrix.package }}' package
124-
run: pnpm build --filter @langchain/${{ matrix.package }}
126+
run: |
127+
cd libs/${{ matrix.package }}
128+
pnpm build
125129
- name: Test '@langchain/${{ matrix.package }}' package
126-
run: pnpm test:unit:ci --filter @langchain/${{ matrix.package }}
130+
run: |
131+
cd libs/${{ matrix.package }}
132+
pnpm run test:unit:ci

β€Ž.github/workflows/unit-tests-langchain-core.ymlβ€Ž

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ jobs:
5353
# Running `test:unit:ci` from root will build first, however debugging
5454
# in CI is easier if we separate the build step from the test step.
5555
- name: Build LangChain Core
56-
run: pnpm build --filter @langchain/core
56+
run: |
57+
cd libs/langchain-core
58+
pnpm build
5759
- name: Test
58-
run: pnpm run test:unit:ci --filter @langchain/core
60+
run: |
61+
cd libs/langchain-core
62+
pnpm run test:unit:ci

β€Ž.github/workflows/unit-tests-langchain.ymlβ€Ž

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,12 @@ jobs:
5555
# Running `test:unit:ci` from root will build first, however debugging
5656
# in CI is easier if we separate the build step from the test step.
5757
- name: Build LangChain
58-
run: pnpm build --filter langchain
58+
run: |
59+
cd libs/langchain
60+
pnpm build
5961
- name: Test
60-
run: pnpm run test:unit:ci --filter langchain
62+
run: |
63+
cd libs/langchain
64+
pnpm run test:unit:ci
6165
env:
6266
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}

0 commit comments

Comments
Β (0)