From b8d5a4df54736c2976f708d777cbbff41f68447e Mon Sep 17 00:00:00 2001 From: Jacob Lee Date: Wed, 6 Sep 2023 16:41:23 -0700 Subject: [PATCH] Skip unnecessary build step in CI, add build step to yarn test (#2545) --- .github/workflows/ci.yml | 2 -- package.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a66dc55e611..5a961a1ef527 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,8 +79,6 @@ jobs: cache: "yarn" - name: Install dependencies run: yarn install --immutable - - name: Build - run: yarn run build --filter="!docs" - name: Test run: yarn run test:unit diff --git a/package.json b/package.json index 39ee0dafb4ff..763950239fa4 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "format:check": "turbo run format:check", "lint": "turbo run lint --filter=\"!docs_skeleton\"", "lint:fix": "yarn lint -- --fix", - "test": "yarn test:unit && yarn test:exports:docker", + "test": "yarn test:unit && yarn workspace langchain build && yarn test:exports:docker", "test:unit": "turbo run test --filter langchain", "test:int": "yarn run test:int:deps && turbo run test:integration ; yarn run test:int:deps:down", "test:int:deps": "docker compose -f test-int-deps-docker-compose.yml up -d",