Skip to content

Commit 7ba9145

Browse files
Add caching for npm dependencies in CI env. (#9)
1 parent 07e5c7f commit 7ba9145

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ jobs:
2929
with:
3030
node-version: 22.12.0
3131

32+
- name: Cache npm dependencies
33+
uses: actions/cache@v4
34+
with:
35+
path: ~/.npm
36+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
37+
3238
- name: Install dependencies
3339
run: npm ci
3440

0 commit comments

Comments
 (0)