Skip to content

Commit f40645c

Browse files
authored
Merge pull request #51 from codewars/cache-node_modules
Add node_modules to the cached path
2 parents d077da2 + dc3e49d commit f40645c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
run: echo "::set-output name=dir::$(yarn cache dir)"
2323
- uses: actions/cache@v2
2424
with:
25-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
25+
path: |
26+
${{ steps.yarn-cache-dir-path.outputs.dir }}
27+
**/node_modules
2628
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
2729
restore-keys: |
2830
${{ runner.os }}-yarn-

0 commit comments

Comments
 (0)