Skip to content

Commit 2a3c9fa

Browse files
committed
ci: use built-in cache action
1 parent 983dbd9 commit 2a3c9fa

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,7 @@ jobs:
2121
uses: actions/setup-node@v3
2222
with:
2323
node-version: ${{ matrix.node-version }}
24-
- name: Cache Node.js modules
25-
uses: actions/cache@v3
26-
with:
27-
# npm cache files are stored in `~/.npm` on Linux/macOS
28-
path: ~/.npm
29-
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
30-
restore-keys: |
31-
${{ runner.OS }}-node-
32-
${{ runner.OS }}-
24+
cache: 'npm'
3325
- name: Install dependencies
3426
run: npm ci
3527
- name: Install dependencies for integration test

0 commit comments

Comments
 (0)