Skip to content

Commit d95a3b5

Browse files
committed
fixup!: revert node mod caching
1 parent ed1cd54 commit d95a3b5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
id: cache-node-modules
4040
uses: actions/cache@v3
4141
with:
42-
path: "node_modules"
43-
key: yarn-build-${{ hashFiles('yarn.lock') }}
42+
path: "**/node_modules"
43+
key: yarn-build-${{ hashFiles('**yarn.lock') }}
4444
restore-keys: |
4545
yarn-build-
4646
@@ -115,8 +115,8 @@ jobs:
115115
id: cache-node-modules
116116
uses: actions/cache@v3
117117
with:
118-
path: "node_modules"
119-
key: yarn-build-${{ hashFiles('yarn.lock') }}
118+
path: "**/node_modules"
119+
key: yarn-build-${{ hashFiles('**yarn.lock') }}
120120
restore-keys: |
121121
yarn-build-
122122
@@ -161,8 +161,8 @@ jobs:
161161
id: cache-node-modules
162162
uses: actions/cache@v3
163163
with:
164-
path: "node_modules"
165-
key: yarn-build-${{ hashFiles('yarn.lock') }}
164+
path: "**/node_modules"
165+
key: yarn-build-${{ hashFiles('**yarn.lock') }}
166166
restore-keys: |
167167
yarn-build-
168168
@@ -204,8 +204,8 @@ jobs:
204204
id: cache-node-modules
205205
uses: actions/cache@v3
206206
with:
207-
path: "node_modules"
208-
key: yarn-build-${{ hashFiles('yarn.lock') }}
207+
path: "**/node_modules"
208+
key: yarn-build-${{ hashFiles('**yarn.lock') }}
209209
restore-keys: |
210210
yarn-build-
211211

0 commit comments

Comments
 (0)