Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

chore(node): upgrade to Node.js 24 LTS across CI, Docker, and local (#2313)

LearningCircuit4a20c4cdd06c
diff --git a/.file-whitelist.txt b/.file-whitelist.txt
index 3b83b94c0e..53ce1fffd7 100644
--- a/.file-whitelist.txt
+++ b/.file-whitelist.txt
@@ -76,6 +76,7 @@
^\.gitleaksignore$
^\.semgrepignore$
^\.trivyignore$
+^\.nvmrc$
^\.github/CODEOWNERS$
^MANIFEST\.in$
^LICENSE$
diff --git a/.github/workflows/docker-tests.yml b/.github/workflows/docker-tests.yml
index 12192beb5d..2e4cec4f7c 100644
--- a/.github/workflows/docker-tests.yml
+++ b/.github/workflows/docker-tests.yml
@@ -131,7 +131,7 @@ jobs:
# zizmor: ignore[cache-poisoning] - caching explicitly disabled with cache: ''
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
- node-version: '20'
+ node-version: '24'
# Cache poisoning protection: explicitly disable caching on PR events from forks
cache: ''
@@ -456,7 +456,7 @@ jobs:
# zizmor: ignore[cache-poisoning] - caching explicitly disabled with cache: ''
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
- node-version: '20'
+ node-version: '24'
# Cache poisoning protection: explicitly disable caching on PR events from forks
cache: ''
@@ -886,7 +886,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
- node-version: '20'
+ node-version: '24'
- name: Install JavaScript test dependencies
run: |
diff --git a/.github/workflows/npm-audit.yml b/.github/workflows/npm-audit.yml
index 748e58ec8a..df82211eb6 100644
--- a/.github/workflows/npm-audit.yml
+++ b/.github/workflows/npm-audit.yml
@@ -26,7 +26,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
- node-version: '20'
+ node-version: '24'
- name: Run npm audit on root
id: audit-root
diff --git a/.github/workflows/playwright-webkit-tests.yml b/.github/workflows/playwright-webkit-tests.yml
index ba610bfaa9..98ba2b90ef 100644
--- a/.github/workflows/playwright-webkit-tests.yml
+++ b/.github/workflows/playwright-webkit-tests.yml
@@ -40,7 +40,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
- node-version: '20'
+ node-version: '24'
cache: 'npm'
cache-dependency-path: tests/ui_tests/playwright/package.json
@@ -170,7 +170,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
- node-version: '20'
+ node-version: '24'
cache: 'npm'
cache-dependency-path: tests/ui_tests/playwright/package.json
diff --git a/.github/workflows/puppeteer-e2e-tests.yml b/.github/workflows/puppeteer-e2e-tests.yml
index 1776f1cdaa..36009042f9 100644
--- a/.github/workflows/puppeteer-e2e-tests.yml
+++ b/.github/workflows/puppeteer-e2e-tests.yml
@@ -55,7 +55,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
- node-version: '20'
+ node-version: '24'
- name: Install system dependencies
run: |
diff --git a/.github/workflows/responsive-ui-tests-enhanced.yml b/.github/workflows/responsive-ui-tests-enhanced.yml
index 2f2f8b66e4..268a0cfd04 100644
--- a/.github/workflows/responsive-ui-tests-enhanced.yml
+++ b/.github/workflows/responsive-ui-tests-enhanced.yml
@@ -53,7 +53,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
- node-version: '20'
+ node-version: '24'
cache: 'npm'
cache-dependency-path: tests/ui_tests/package-lock.json
diff --git a/.github/workflows/retirejs.yml b/.github/workflows/retirejs.yml
index 5a83e010df..fd64c10c16 100644
--- a/.github/workflows/retirejs.yml
+++ b/.github/workflows/retirejs.yml
@@ -35,7 +35,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
- node-version: '20'
+ node-version: '24'
- name: Run Retire.js scan
id: retire-scan
diff --git a/.github/workflows/update-npm-dependencies.yml b/.github/workflows/update-npm-dependencies.yml
index 15cffa2a1c..8e56dc2e93 100644
--- a/.github/workflows/update-npm-dependencies.yml
+++ b/.github/workflows/update-npm-dependencies.yml
@@ -45,7 +45,7 @@ jobs:
- name: 🟢 Setup Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
- node-version: '20'
+ node-version: '24'
cache: 'npm'
cache-dependency-path: ${{ matrix.npm_directory.path }}/${{ matrix.npm_directory.cache_path }}
diff --git a/.gitignore b/.gitignore
index 1b0d9e2e95..f7d5bb062b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -79,6 +79,7 @@
# Block all other dot files/folders
+!.nvmrc
.*
.*/
!.github/
diff --git a/.nvmrc b/.nvmrc
new file mode 100644
index 0000000000..a45fd52cc5
--- /dev/null
+++ b/.nvmrc
@@ -0,0 +1 @@
+24
diff --git a/Dockerfile b/Dockerfile
index 7c564451e4..675f1ac18f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,7 +20,7 @@ RUN apt-get update -o Acquire::Retries=3 && apt-get upgrade -y -o Acquire::Retri
curl \
ca-certificates \
gnupg \
- # Add NodeSource GPG key and repository directly (pinned to Node.js 22.x LTS)
+ # Add NodeSource GPG key and repository directly (pinned to Node.js 24.x LTS)
# GPG key fingerprint verification for supply chain security
# Key: NSolid <[email protected]> (RSA 2048-bit, created 2016-05-23)
# Fingerprint verified from: https://github.com/nodesource/distributions
@@ -39,7 +39,7 @@ RUN apt-get update -o Acquire::Retries=3 && apt-get upgrade -y -o Acquire::Retri
fi \
&& gpg --batch --dearmor -o /usr/share/keyrings/nodesource.gpg /tmp/nodesource.gpg.key \
&& rm /tmp/nodesource.gpg.key \
- && echo "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" > /etc/apt/sources.list.d/nodesource.list \
+ && echo "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_24.x nodistro main" > /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends nodejs \
&& rm -rf /var/lib/apt/lists/*
diff --git a/docs/FRONTEND_BUILD_SYSTEM.md b/docs/FRONTEND_BUILD_SYSTEM.md
index 317e0cc61c..d0c168fa46 100644
--- a/docs/FRONTEND_BUILD_SYSTEM.md
+++ b/docs/FRONTEND_BUILD_SYSTEM.md
@@ -252,7 +252,7 @@ Add to your CI pipeline:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
- node-version: '18'
+ node-version: '24'
cache: 'npm'
- name: Install dependencies
diff --git a/package.json b/package.json
index 81ddaedbae..92ed80ebbd 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"private": true,
"type": "module",
"engines": {
- "node": ">=20.0.0"
+ "node": ">=24.0.0"
},
"scripts": {
"dev": "vite",