We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f9a1bd commit aa38da4Copy full SHA for aa38da4
.github/workflows/ci.yml
@@ -29,9 +29,19 @@ jobs:
29
30
- name: Setup node and npm
31
uses: actions/setup-node@v4
32
+
33
+ - name: Cache NPM dependencies
34
+ uses: actions/cache@v4
35
+ env:
36
+ cache-name: cache-node-modules
37
with:
- cache: npm
- 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 }}-
45
46
- name: Install NPM dependencies
47
run: npm install
0 commit comments