Skip to content

Commit f64f6d6

Browse files
committed
fix: disable node_module caching in Gitbub Actions
1 parent 66268ab commit f64f6d6

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,20 @@ jobs:
3131
with:
3232
node-version: 18.x
3333

34-
# cache node_modules
35-
- name: Cache dependencies
36-
uses: actions/cache@v4
37-
id: yarn-cache
38-
with:
39-
path: |
40-
**/node_modules
41-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
42-
restore-keys: |
43-
${{ runner.os }}-yarn-
34+
# # cache node_modules
35+
# - name: Cache dependencies
36+
# uses: actions/cache@v4
37+
# id: yarn-cache
38+
# with:
39+
# path: |
40+
# **/node_modules
41+
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
42+
# restore-keys: |
43+
# ${{ runner.os }}-yarn-
4444

4545
# install dependencies if the cache did not hit
4646
- name: Install dependencies
47-
if: steps.yarn-cache.outputs.cache-hit != 'true'
47+
# if: steps.yarn-cache.outputs.cache-hit != 'true'
4848
run: yarn --frozen-lockfile
4949

5050
- run: yarn test:lint

0 commit comments

Comments
 (0)