From 99e7456fca2ea1d3b24439018fe4841b2701d5fa Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Tue, 17 Dec 2024 09:08:56 +0100 Subject: [PATCH] Fix CI --- .github/workflows/ci-front.yaml | 3 --- nx.json | 12 ++++++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yaml index b214862a1649..95f18fc990fc 100644 --- a/.github/workflows/ci-front.yaml +++ b/.github/workflows/ci-front.yaml @@ -44,9 +44,6 @@ jobs: - name: Install dependencies if: steps.changed-files.outputs.any_changed == 'true' uses: ./.github/workflows/actions/yarn-install - - name: Build twenty-shared - if: steps.changed-files.outputs.any_changed == 'true' - run: npx nx build twenty-shared - name: Diagnostic disk space issue if: steps.changed-files.outputs.any_changed == 'true' run: df -h diff --git a/nx.json b/nx.json index 4dad7946753f..d73a57ed16e1 100644 --- a/nx.json +++ b/nx.json @@ -47,7 +47,8 @@ "configurations": { "ci": { "cacheStrategy": "content" }, "fix": { "fix": true } - } + }, + "dependsOn": ["^build"] }, "fmt": { "executor": "nx:run-commands", @@ -63,7 +64,8 @@ "configurations": { "ci": { "cacheStrategy": "content" }, "fix": { "write": true } - } + }, + "dependsOn": ["^build"] }, "typecheck": { "executor": "nx:run-commands", @@ -74,7 +76,8 @@ }, "configurations": { "watch": { "watch": true } - } + }, + "dependsOn": ["^build"] }, "test": { "executor": "@nx/jest:jest", @@ -115,7 +118,8 @@ "command": "VITE_DISABLE_TYPESCRIPT_CHECKER=true VITE_DISABLE_ESLINT_CHECKER=true storybook build", "output-dir": "storybook-static", "config-dir": ".storybook" - } + }, + "dependsOn": ["^build"] }, "storybook:serve:dev": { "executor": "nx:run-commands",