Skip to content

Commit 7200610

Browse files
committed
Using cache in test
1 parent f5ed070 commit 7200610

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ jobs:
1818
with:
1919
node-version: '18.20.8'
2020

21+
- name: Cache Node.js modules
22+
uses: actions/cache@v3
23+
with:
24+
path: node_modules
25+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
26+
restore-keys: |
27+
${{ runner.os }}-node-
28+
2129
- name: Install dependencies
2230
run: npm install
2331

0 commit comments

Comments
 (0)