Skip to content

Commit 7e051f0

Browse files
committed
use a different cache key for dev vs prod
1 parent fd0c75c commit 7e051f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy-dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/cache@v4
2727
with:
2828
path: node_modules
29-
key: yarn-modules-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
29+
key: yarn-modules-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-dev
3030
restore-keys: |
3131
yarn-modules-${{ runner.os }}-
3232
@@ -65,7 +65,7 @@ jobs:
6565
uses: actions/cache@v4
6666
with:
6767
path: node_modules
68-
key: yarn-modules-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
68+
key: yarn-modules-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-dev
6969
restore-keys: |
7070
yarn-modules-${{ runner.os }}-
7171
@@ -113,7 +113,7 @@ jobs:
113113
uses: actions/cache@v4
114114
with:
115115
path: node_modules
116-
key: yarn-modules-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
116+
key: yarn-modules-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}-dev
117117
restore-keys: |
118118
yarn-modules-${{ runner.os }}-
119119

0 commit comments

Comments
 (0)