Skip to content

Commit 538938c

Browse files
committed
upd cache key
1 parent a9304f1 commit 538938c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
path: |
2727
~/.cache/Cypress
28-
key: cypress-${{ runner.os }}
28+
key: cypress-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
2929
- run: yarn install --frozen-lockfile --immutable
3030

3131
jest:

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
path: |
2727
~/.cache/Cypress
28-
key: cypress-${{ runner.os }}
28+
key: cypress-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
2929
- run: yarn install --frozen-lockfile --immutable
3030

3131
build:
@@ -165,7 +165,7 @@ jobs:
165165
with:
166166
path: |
167167
~/.cache/Cypress
168-
key: cypress-${{ runner.os }}
168+
key: cypress-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
169169
- name: Cypress run
170170
uses: cypress-io/github-action@v5
171171
with:

0 commit comments

Comments
 (0)