Skip to content

Commit

Permalink
Fix for build cache config
Browse files Browse the repository at this point in the history
  • Loading branch information
lwitkowski committed Jul 30, 2024
1 parent e975e07 commit 602735b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/cd-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,15 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
cache-dependency-path: 'frontend/package-lock.json'

- name: Setup node_modules cache
uses: actions/cache@v3
with:
path: frontend/node_modules
key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-
${{ runner.os }}-
- name: 'Install dependencies'
working-directory: ./frontend
Expand Down

0 comments on commit 602735b

Please sign in to comment.