Skip to content

Commit 41ef5df

Browse files
nikkubarmac
authored andcommitted
ci: use built-in cache action
1 parent c671cff commit 41ef5df

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
@@ -17,15 +17,7 @@ jobs:
1717
uses: actions/setup-node@v4
1818
with:
1919
node-version: ${{ matrix.node-version }}
20-
- name: Cache Node.js modules
21-
uses: actions/cache@v2
22-
with:
23-
# npm cache files are stored in `~/.npm` on Linux/macOS
24-
path: ~/.npm
25-
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
26-
restore-keys: |
27-
${{ runner.OS }}-node-
28-
${{ runner.OS }}-
20+
cache: 'npm'
2921
- name: Install dependencies
3022
run: npm ci
3123
- name: Build

0 commit comments

Comments
 (0)