From f934a6b7f8d215743599081e927d0518646a2379 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sat, 19 Oct 2024 21:35:15 +0200 Subject: [PATCH] Update charts-release.yaml Signed-off-by: Kjeld Schouten --- .github/workflows/charts-release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index b1ec6cda89a..fa97cbe55e0 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -230,6 +230,7 @@ jobs: restore-keys: astro- - name: Setup npm Cache + if: needs.check_changes.outputs.changes_detected == 'true' uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 with: # Cache for npm @@ -247,13 +248,13 @@ jobs: key: modules-${{ hashFiles('package-lock.json') }} - name: Setup Node - if: needs.check_changes.outputs.changes_detected == 'true' + if: needs.check_changes.outputs.changes_detected == 'true' && needs.check_changes.outputs.changes_detected == 'true' uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4 with: node-version-file: ./website/.nvmrc - name: Install Packages - if: steps.modulescache.outputs.cache-hit != 'true' + if: steps.modulescache.outputs.cache-hit != 'true' && needs.check_changes.outputs.changes_detected == 'true' run: cd website && npm ci - name: Check