Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/pnpm-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ runs:
- name: Use Node.js
uses: actions/setup-node@v5
with:
node-version: 22
node-version: 24
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better stability in the CI pipeline, it's recommended to use a Node.js version that is an active Long-Term Support (LTS) release. Node.js 24 is a 'Current' release and will not become LTS until October 2025, which could introduce instability.

Unless a feature or fix specific to Node.js 24 is required to resolve the audit issue, consider using Node.js 22, which is the next version to receive LTS status (October 2024) and is more mature than a brand-new major release. The current active LTS is Node.js 20.

        node-version: 22

cache: 'pnpm'
- name: Install dependencies
run: pnpm install
Expand Down
35 changes: 14 additions & 21 deletions .github/workflows/auto-dependency-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,46 +34,39 @@ jobs:
with:
ref: ${{ matrix.base }}
persist-credentials: false
- name: Remove overrides before install
run: |
if grep -q '^overrides:' pnpm-workspace.yaml; then
sed -i '/^overrides:/,$ d' pnpm-workspace.yaml
fi
- uses: actions/setup-node@v6
with:
# cache: pnpm
node-version: 22
node-version: 24
- uses: pnpm/action-setup@v5
id: pnpm-install
with:
version: 10
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v5
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store
restore-keys: |
${{ runner.os }}-pnpm-store

- name: Remove overrides before install
run: |
if grep -q '^overrides:' pnpm-workspace.yaml; then
sed -i '/^overrides:/,$ d' pnpm-workspace.yaml
fi
- name: Install
run: pnpm i --no-frozen-lockfile
run: pnpm i --ignore-scripts --no-frozen-lockfile
- name: Update dependencies (minor)
run: |
pnpm ncu:minor
# Run the recursive update twice so peer and dev dependency bumps align after the first pass adjusts peer ranges.
pnpm ncu:minor
- name: Clear pnpm store
run: pnpm store prune
- name: Reinstall dependencies (prepare for fix)
run: pnpm i --no-frozen-lockfile
run: pnpm i --ignore-scripts --no-frozen-lockfile
- name: Try to fix audit issues
run: pnpm audit --audit-level high --fix --production
- name: Clear pnpm store
run: pnpm store prune
- name: Reinstall dependencies (final lock file)
run: pnpm i --no-frozen-lockfile
run: pnpm i --ignore-scripts --no-frozen-lockfile
- name: Fix format
run: pnpm -r format -w
run: pnpm format -w

- name: Check for changes
id: verify-changed-files
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cve-overview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
- uses: pnpm/action-setup@v5
id: pnpm-install
with:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
- uses: pnpm/action-setup@v5
id: pnpm-install
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/draft-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
- name: Install pnpm
uses: pnpm/action-setup@v5
id: pnpm-install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manage-npm-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
registry-url: https://registry.npmjs.org

- name: ${{ github.event.inputs.action }} tag "${{ github.event.inputs.tag }}" for ${{ matrix.package }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
registry-url: https://registry.npmjs.org

- name: Install pnpm
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:

- uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
registry-url: https://npm.pkg.github.com

- name: Publish sample react
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security-scan-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
cache: 'pnpm'

- name: Run security scans
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24

- name: Run security scans
uses: public-ui/kolibri/.github/actions/security-scan@develop
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snyk-major-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24

- name: Install Snyk CLI
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
- name: Install pnpm
uses: pnpm/action-setup@v5
id: pnpm-install
Expand Down
Loading