From de7ca76225736ba5b24900a8594e2b0280caca10 Mon Sep 17 00:00:00 2001 From: Amedeo Lepore Date: Mon, 28 Oct 2024 10:39:29 +0100 Subject: [PATCH] AAE-27234 Skip nx check for build command to fix Invalid Cache Directory for Task js-api:build (#10349) --- .github/workflows/pull-request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index e95cdff134..c9cde9a6ae 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -234,8 +234,8 @@ jobs: fetch-depth: 0 # Fetch all history for all tags and branches - uses: ./.github/actions/setup - uses: ./.github/actions/download-node-modules-and-artifacts - - run: npx nx affected:build $NX_CALCULATION_FLAGS --prod - - run: npx nx affected --target=build-storybook $NX_CALCULATION_FLAGS --configuration=ci --parallel=1 + - run: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 npx nx affected:build $NX_CALCULATION_FLAGS --prod + - run: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 npx nx affected --target=build-storybook $NX_CALCULATION_FLAGS --configuration=ci --parallel=1 - uses: ./.github/actions/upload-node-modules-and-artifacts PR-forbidden-labels: