Skip to content

Commit 8ae41db

Browse files
committed
chore: streamline pnpm installation and store pruning in auto dependency updater
1 parent 88bc19e commit 8ae41db

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/auto-dependency-updater.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,22 @@ jobs:
4949
version: 10
5050
run_install: false
5151
- name: Install
52-
run: pnpm i --no-frozen-lockfile --ignore-scripts
52+
run: pnpm i --ignore-scripts --no-frozen-lockfile
5353
- name: Update dependencies (minor)
5454
run: |
5555
pnpm ncu:minor
5656
# Run the recursive update twice so peer and dev dependency bumps align after the first pass adjusts peer ranges.
5757
pnpm ncu:minor
58+
- name: Clear pnpm store
59+
run: pnpm store prune
5860
- name: Reinstall dependencies (prepare for fix)
59-
run: pnpm i --no-frozen-lockfile --ignore-scripts
61+
run: pnpm i --ignore-scripts --no-frozen-lockfile
6062
- name: Try to fix audit issues
6163
run: pnpm audit --audit-level high --fix --production
64+
- name: Clear pnpm store
65+
run: pnpm store prune
6266
- name: Reinstall dependencies (final lock file)
63-
run: pnpm i --no-frozen-lockfile --ignore-scripts
67+
run: pnpm i --ignore-scripts --no-frozen-lockfile
6468
- name: Fix format
6569
run: pnpm format -w
6670

0 commit comments

Comments
 (0)