From 94e9715fefaef6398ef52c3d09664899236f2d3e Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Mon, 2 Oct 2023 16:29:04 +0200 Subject: [PATCH] Build only required packages --- .github/workflows/release-singleimage-test.yml | 6 +----- packages/server/package.json | 10 ++++++++++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-singleimage-test.yml b/.github/workflows/release-singleimage-test.yml index 441d9188b0..dd00c3ba6d 100644 --- a/.github/workflows/release-singleimage-test.yml +++ b/.github/workflows/release-singleimage-test.yml @@ -55,12 +55,8 @@ jobs: run: yarn - name: Update versions run: ./scripts/updateVersions.sh - - name: Runt Yarn Lint - run: yarn lint - - name: Update versions - run: ./scripts/updateVersions.sh - name: Run Yarn Build - run: yarn build:docker:pre + run: yarn build --scope @budibase/server --scope @budibase/worker - name: Login to Docker Hub uses: docker/login-action@v2 with: diff --git a/packages/server/package.json b/packages/server/package.json index 2eb278b560..a52873053d 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -172,6 +172,16 @@ "target": "build" } ] + }, + "build": { + "dependsOn": [ + { + "projects": [ + "@budibase/client" + ], + "target": "build" + } + ] } } }