Skip to content

Commit d232a15

Browse files
committed
👷 caches node_modules too
1 parent d261a6f commit d232a15

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/actions/setup/action.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ runs:
77
uses: 'actions/setup-node@v3'
88
with:
99
node-version: '16.x'
10+
cache: 'npm'
11+
cache-dependency-path: '**/package-lock.json'
1012

11-
- name: 'Keep npm cache'
13+
- name: 'Keep npm cache for future workflows'
1214
uses: 'actions/cache@v3'
1315
with:
1416
key: "${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}"

0 commit comments

Comments
 (0)