Skip to content

Commit

Permalink
Update charts-release.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Kjeld Schouten <[email protected]>
  • Loading branch information
PrivatePuffin authored Oct 19, 2024
1 parent e2e1bed commit f934a6b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/charts-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f934a6b

Please sign in to comment.