Skip to content

Commit 4feb34d

Browse files
committed
ci: use built-in cache
1 parent a7d2092 commit 4feb34d

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/CI.yml

+1-9
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,7 @@ jobs:
1111
uses: actions/setup-node@v4
1212
with:
1313
node-version: 20
14-
- name: Cache Node.js modules
15-
uses: actions/cache@v2
16-
with:
17-
# npm cache files are stored in `~/.npm` on Linux/macOS
18-
path: ~/.npm
19-
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
20-
restore-keys: |
21-
${{ runner.OS }}-node-
22-
${{ runner.OS }}-
14+
cache: 'npm'
2315
- name: Install dependencies
2416
run: npm ci
2517
- name: Build

0 commit comments

Comments
 (0)