Skip to content

Commit cc57a44

Browse files
fix:coderabbit sugg
1 parent 1ea11f2 commit cc57a44

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/pull-request.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ jobs:
543543
- name: Run docstring compliance check
544544
run: |
545545
source venv/bin/activate
546-
python .github/workflows/scripts/check_docstrings.py --directories .github
546+
python .github/workflows/scripts/check_docstrings.py --directories .github
547547
Check-Dependencies:
548548
name: Check Dependencies
549549
runs-on: ubuntu-latest
@@ -557,8 +557,13 @@ jobs:
557557
with:
558558
node-version: '22.x'
559559

560+
- name: Cache npm modules
561+
uses: actions/cache@v4
562+
with:
563+
path: ~/.npm
564+
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
560565
- name: Install Dependencies
561-
run: npm install
566+
run: npm ci
562567

563568
- name: Check for Unused and Missing Dependencies
564-
run: npm run check-dependencies
569+
run: npm run check-dependencies

0 commit comments

Comments
 (0)