@@ -34,46 +34,39 @@ jobs:
3434 with :
3535 ref : ${{ matrix.base }}
3636 persist-credentials : false
37+ - name : Remove overrides before install
38+ run : |
39+ if grep -q '^overrides:' pnpm-workspace.yaml; then
40+ sed -i '/^overrides:/,$ d' pnpm-workspace.yaml
41+ fi
3742 - uses : actions/setup-node@v6
3843 with :
3944 # cache: pnpm
40- node-version : 22
45+ node-version : 24
4146 - uses : pnpm/action-setup@v5
4247 id : pnpm-install
4348 with :
4449 version : 10
4550 run_install : false
46- - name : Get pnpm store directory
47- id : pnpm-cache
48- shell : bash
49- run : echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
50- - uses : actions/cache@v5
51- with :
52- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
53- key : ${{ runner.os }}-pnpm-store
54- restore-keys : |
55- ${{ runner.os }}-pnpm-store
56-
57- - name : Remove overrides before install
58- run : |
59- if grep -q '^overrides:' pnpm-workspace.yaml; then
60- sed -i '/^overrides:/,$ d' pnpm-workspace.yaml
61- fi
6251 - name : Install
63- run : pnpm i --no-frozen-lockfile
52+ run : pnpm i --ignore-scripts -- no-frozen-lockfile
6453 - name : Update dependencies (minor)
6554 run : |
6655 pnpm ncu:minor
6756 # Run the recursive update twice so peer and dev dependency bumps align after the first pass adjusts peer ranges.
6857 pnpm ncu:minor
58+ - name : Clear pnpm store
59+ run : pnpm store prune
6960 - name : Reinstall dependencies (prepare for fix)
70- run : pnpm i --no-frozen-lockfile
61+ run : pnpm i --ignore-scripts -- no-frozen-lockfile
7162 - name : Try to fix audit issues
7263 run : pnpm audit --audit-level high --fix --production
64+ - name : Clear pnpm store
65+ run : pnpm store prune
7366 - name : Reinstall dependencies (final lock file)
74- run : pnpm i --no-frozen-lockfile
67+ run : pnpm i --ignore-scripts -- no-frozen-lockfile
7568 - name : Fix format
76- run : pnpm -r format -w
69+ run : pnpm format -w
7770
7871 - name : Check for changes
7972 id : verify-changed-files
0 commit comments