Skip to content

Commit 39b44c6

Browse files
starfy84Copilot
andauthored
Update .github/workflows/pull_request.yaml
Co-authored-by: Copilot <[email protected]>
1 parent e88f439 commit 39b44c6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/pull_request.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,15 @@ jobs:
5757
with:
5858
node-version: 22
5959
- name: Cache npm dependencies
60+
id: node-modules-cache
6061
uses: actions/cache@v4
6162
with:
6263
path: '**/node_modules'
63-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
64+
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
6465
restore-keys: |
65-
${{ runner.os }}-node-
66+
${{ runner.os }}-modules-
6667
- name: Install Dependencies
68+
if: steps.node-modules-cache.outputs.cache-hit != 'true'
6769
run: npm ci
6870

6971
- name: Download and install vacuum v0.18.1

0 commit comments

Comments
 (0)