Skip to content

Commit 75399d7

Browse files
authored
Chore/update node fix audit (#9893)
2 parents 5799abd + 8ae41db commit 75399d7

File tree

10 files changed

+25
-32
lines changed

10 files changed

+25
-32
lines changed

.github/actions/pnpm-setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ runs:
99
- name: Use Node.js
1010
uses: actions/setup-node@v5
1111
with:
12-
node-version: 22
12+
node-version: 24
1313
cache: 'pnpm'
1414
- name: Install dependencies
1515
run: pnpm install

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

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -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

.github/workflows/cve-overview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
persist-credentials: false
3737
- uses: actions/setup-node@v6
3838
with:
39-
node-version: 22
39+
node-version: 24
4040
- uses: pnpm/action-setup@v5
4141
id: pnpm-install
4242
with:
@@ -76,7 +76,7 @@ jobs:
7676
persist-credentials: false
7777
- uses: actions/setup-node@v6
7878
with:
79-
node-version: 22
79+
node-version: 24
8080
- uses: pnpm/action-setup@v5
8181
id: pnpm-install
8282
with:

.github/workflows/draft-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install Node.js
3131
uses: actions/setup-node@v6
3232
with:
33-
node-version: 22
33+
node-version: 24
3434
- name: Install pnpm
3535
uses: pnpm/action-setup@v5
3636
id: pnpm-install

.github/workflows/manage-npm-tags.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Install Node.js
7171
uses: actions/setup-node@v6
7272
with:
73-
node-version: 22
73+
node-version: 24
7474
registry-url: https://registry.npmjs.org
7575

7676
- name: ${{ github.event.inputs.action }} tag "${{ github.event.inputs.tag }}" for ${{ matrix.package }}

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- name: Install Node.js
6363
uses: actions/setup-node@v6
6464
with:
65-
node-version: 22
65+
node-version: 24
6666
registry-url: https://registry.npmjs.org
6767

6868
- name: Install pnpm
@@ -238,7 +238,7 @@ jobs:
238238

239239
- uses: actions/setup-node@v6
240240
with:
241-
node-version: 22
241+
node-version: 24
242242
registry-url: https://npm.pkg.github.com
243243

244244
- name: Publish sample react

.github/workflows/security-scan-schedule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Node.js
3232
uses: actions/setup-node@v6
3333
with:
34-
node-version: 22
34+
node-version: 24
3535
cache: 'pnpm'
3636

3737
- name: Run security scans

.github/workflows/security-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Setup Node.js
4444
uses: actions/setup-node@v6
4545
with:
46-
node-version: 22
46+
node-version: 24
4747

4848
- name: Run security scans
4949
uses: public-ui/kolibri/.github/actions/security-scan@develop

.github/workflows/snyk-major-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup Node.js
2828
uses: actions/setup-node@v6
2929
with:
30-
node-version: 22
30+
node-version: 24
3131

3232
- name: Install Snyk CLI
3333
run: |

.github/workflows/test-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Install Node.js
3232
uses: actions/setup-node@v6
3333
with:
34-
node-version: 22
34+
node-version: 24
3535
- name: Install pnpm
3636
uses: pnpm/action-setup@v5
3737
id: pnpm-install

0 commit comments

Comments
 (0)