|
18 | 18 | uses: actions/setup-node@v4
|
19 | 19 | with:
|
20 | 20 | node-version: ${{ env.NODE_VERSION }}
|
21 |
| - - name: Cache Node.js modules |
22 |
| - uses: actions/cache@v4 |
23 |
| - with: |
24 |
| - path: ~/.npm |
25 |
| - key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }} |
26 |
| - restore-keys: | |
27 |
| - ${{ runner.os }}-node-${{ env.NODE_VERSION }}- |
| 21 | + cache: npm |
28 | 22 | - name: Install dependencies
|
29 | 23 | run: npm ci --ignore-scripts
|
30 | 24 | - name: CI Node Engine Check
|
|
39 | 33 | uses: actions/setup-node@v4
|
40 | 34 | with:
|
41 | 35 | node-version: ${{ env.NODE_VERSION }}
|
42 |
| - - name: Cache Node.js modules |
43 |
| - uses: actions/cache@v4 |
44 |
| - with: |
45 |
| - path: ~/.npm |
46 |
| - key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }} |
47 |
| - restore-keys: | |
48 |
| - ${{ runner.os }}-node-${{ env.NODE_VERSION }}- |
| 36 | + cache: npm |
49 | 37 | - name: Install dependencies
|
50 | 38 | run: npm ci --ignore-scripts
|
51 | 39 | - run: npm run lint
|
|
59 | 47 | uses: actions/setup-node@v4
|
60 | 48 | with:
|
61 | 49 | node-version: ${{ env.NODE_VERSION }}
|
62 |
| - - name: Cache Node.js modules |
63 |
| - uses: actions/cache@v4 |
64 |
| - with: |
65 |
| - path: ~/.npm |
66 |
| - key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }} |
67 |
| - restore-keys: | |
68 |
| - ${{ runner.os }}-node-${{ env.NODE_VERSION }}- |
| 50 | + cache: npm |
69 | 51 | - name: Install dependencies
|
70 | 52 | run: npm ci --ignore-scripts
|
71 | 53 | - name: Scan for circular dependencies
|
@@ -143,13 +125,7 @@ jobs:
|
143 | 125 | uses: actions/setup-node@v4
|
144 | 126 | with:
|
145 | 127 | node-version: ${{ matrix.NODE_VERSION }}
|
146 |
| - - name: Cache Node.js modules |
147 |
| - uses: actions/cache@v4 |
148 |
| - with: |
149 |
| - path: ~/.npm |
150 |
| - key: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }} |
151 |
| - restore-keys: | |
152 |
| - ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}- |
| 128 | + cache: npm |
153 | 129 | - name: Install dependencies
|
154 | 130 | run: npm ci
|
155 | 131 | - name: Tests
|
|
0 commit comments