Skip to content

Commit

Permalink
fix: fix frontend cache
Browse files Browse the repository at this point in the history
  • Loading branch information
nhdzhra committed Dec 11, 2024
1 parent d0e0416 commit 0a44adb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/tools/pnpm/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ runs:
path: /runner/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Setup pnpm
if: "${{ inputs.pnpm_version != 'latest' }}"
Expand Down Expand Up @@ -66,4 +66,4 @@ runs:
${{ steps.path.outputs.cache-path }}
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-nextjs-
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}
4 changes: 2 additions & 2 deletions frontend/tools/yarn/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ runs:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Set cache path Next.js
if: "${{ inputs.using_nextjs == 'true' }}"
Expand All @@ -57,4 +57,4 @@ runs:
path: ${{ steps.path.outputs.cache-path }}
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-nextjs-
${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}

0 comments on commit 0a44adb

Please sign in to comment.