From 7944f72820d8b6febbba9bb409bf253cbede8f4c Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 2 Aug 2023 10:59:15 +0200 Subject: [PATCH] Fix integration tests --- .github/workflows/budibase_ci.yml | 2 +- packages/shared-core/package.json | 3 ++- packages/types/package.json | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index 9509a22e99..ba8d9f53ea 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -154,7 +154,7 @@ jobs: node-version: 14.x cache: "yarn" - run: yarn - - run: yarn build + - run: yarn build --projects=@budibase/server,@budibase/worker,@budibase/shared-core - name: Run tests run: | cd qa-core diff --git a/packages/shared-core/package.json b/packages/shared-core/package.json index 9c8861c9d8..98ee89999b 100644 --- a/packages/shared-core/package.json +++ b/packages/shared-core/package.json @@ -6,7 +6,8 @@ "types": "src/index.ts", "exports": { ".": { - "import": "./dist/index.js" + "import": "./dist/index.js", + "require": "./src/index.ts" } }, "author": "Budibase", diff --git a/packages/types/package.json b/packages/types/package.json index 04bd3bc1d1..96ab8cb095 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -6,7 +6,8 @@ "types": "src/index.ts", "exports": { ".": { - "import": "./dist/index.js" + "import": "./dist/index.js", + "require": "./src/index.ts" } }, "author": "Budibase",