Skip to content

Commit aa38da4

Browse files
author
Serhii Khoma
committed
fix: ci
1 parent 7f9a1bd commit aa38da4

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,19 @@ jobs:
2929
3030
- name: Setup node and npm
3131
uses: actions/setup-node@v4
32+
33+
- name: Cache NPM dependencies
34+
uses: actions/cache@v4
35+
env:
36+
cache-name: cache-node-modules
3237
with:
33-
cache: npm
34-
cache-dependency-path: "**/package-lock.json"
38+
path: ~/.npm
39+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/package.json') }}
40+
restore-keys: |
41+
${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}-
42+
${{ runner.os }}-build-${{ env.cache-name }}-
43+
${{ runner.os }}-build-
44+
${{ runner.os }}-
3545
3646
- name: Install NPM dependencies
3747
run: npm install

0 commit comments

Comments
 (0)