Skip to content

Commit 109c355

Browse files
committed
chore(ci): update Docker cache setup to use node_modules path
1 parent cf2fcc2 commit 109c355

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ jobs:
5151
- name: Setup Docker cache
5252
uses: actions/cache@v4
5353
with:
54-
path: /tmp/.buildx-cache
55-
key: ${{ runner.os }}-buildx-${{ github.sha }}
56-
restore-keys: |
57-
${{ runner.os }}-buildx-
54+
path: node_modules
55+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
56+
restore-keys: ${{ runner.os }}-node-
5857

5958
- name: Setup database and infrastructure
6059
run: |

0 commit comments

Comments
 (0)