Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Chore: upgrade to node v24 (#11747)

shamoon07eb3c476161
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index b0185a029..4aa9d56e7 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
-FROM --platform=$BUILDPLATFORM docker.io/node:20-trixie-slim as main-app
+FROM --platform=$BUILDPLATFORM docker.io/node:24-trixie-slim as main-app
ARG DEBIAN_FRONTEND=noninteractive
diff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.yml
index 06dabacf7..907d36abf 100644
--- a/.github/workflows/ci-frontend.yml
+++ b/.github/workflows/ci-frontend.yml
@@ -27,10 +27,10 @@ jobs:
uses: pnpm/action-setup@v4
with:
version: 10
- - name: Use Node.js 20
+ - name: Use Node.js 24
uses: actions/setup-node@v6
with:
- node-version: 20.x
+ node-version: 24.x
cache: 'pnpm'
cache-dependency-path: 'src-ui/pnpm-lock.yaml'
- name: Cache frontend dependencies
@@ -54,10 +54,10 @@ jobs:
uses: pnpm/action-setup@v4
with:
version: 10
- - name: Use Node.js 20
+ - name: Use Node.js 24
uses: actions/setup-node@v6
with:
- node-version: 20.x
+ node-version: 24.x
cache: 'pnpm'
cache-dependency-path: 'src-ui/pnpm-lock.yaml'
- name: Cache frontend dependencies
@@ -78,7 +78,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- node-version: [20.x]
+ node-version: [24.x]
shard-index: [1, 2, 3, 4]
shard-count: [4]
steps:
@@ -88,10 +88,10 @@ jobs:
uses: pnpm/action-setup@v4
with:
version: 10
- - name: Use Node.js 20
+ - name: Use Node.js 24
uses: actions/setup-node@v6
with:
- node-version: 20.x
+ node-version: 24.x
cache: 'pnpm'
cache-dependency-path: 'src-ui/pnpm-lock.yaml'
- name: Cache frontend dependencies
@@ -128,7 +128,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- node-version: [20.x]
+ node-version: [24.x]
shard-index: [1, 2]
shard-count: [2]
steps:
@@ -138,10 +138,10 @@ jobs:
uses: pnpm/action-setup@v4
with:
version: 10
- - name: Use Node.js 20
+ - name: Use Node.js 24
uses: actions/setup-node@v6
with:
- node-version: 20.x
+ node-version: 24.x
cache: 'pnpm'
cache-dependency-path: 'src-ui/pnpm-lock.yaml'
- name: Cache frontend dependencies
@@ -168,10 +168,10 @@ jobs:
uses: pnpm/action-setup@v4
with:
version: 10
- - name: Use Node.js 20
+ - name: Use Node.js 24
uses: actions/setup-node@v6
with:
- node-version: 20.x
+ node-version: 24.x
cache: 'pnpm'
cache-dependency-path: 'src-ui/pnpm-lock.yaml'
- name: Cache frontend dependencies
diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml
index 3f1a58e02..ff05949ad 100644
--- a/.github/workflows/ci-release.yml
+++ b/.github/workflows/ci-release.yml
@@ -34,10 +34,10 @@ jobs:
uses: pnpm/action-setup@v4
with:
version: 10
- - name: Use Node.js 20
+ - name: Use Node.js 24
uses: actions/setup-node@v6
with:
- node-version: 20.x
+ node-version: 24.x
cache: 'pnpm'
cache-dependency-path: 'src-ui/pnpm-lock.yaml'
- name: Install frontend dependencies
diff --git a/.github/workflows/translate-strings.yml b/.github/workflows/translate-strings.yml
index c2a2fdf1c..4cf4d2b5b 100644
--- a/.github/workflows/translate-strings.yml
+++ b/.github/workflows/translate-strings.yml
@@ -39,10 +39,10 @@ jobs:
uses: pnpm/action-setup@v4
with:
version: 10
- - name: Use Node.js 20
+ - name: Use Node.js 24
uses: actions/setup-node@v6
with:
- node-version: 20.x
+ node-version: 24.x
cache: 'pnpm'
cache-dependency-path: 'src-ui/pnpm-lock.yaml'
- name: Cache frontend dependencies
diff --git a/Dockerfile b/Dockerfile
index f43f5fa69..5262ea124 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,7 +5,7 @@
# Purpose: Compiles the frontend
# Notes:
# - Does PNPM stuff with Typescript and such
-FROM --platform=$BUILDPLATFORM docker.io/node:20-trixie-slim AS compile-frontend
+FROM --platform=$BUILDPLATFORM docker.io/node:24-trixie-slim AS compile-frontend
COPY ./src-ui /src/src-ui
diff --git a/docs/development.md b/docs/development.md
index 71ca4d930..de328e1f8 100644
--- a/docs/development.md
+++ b/docs/development.md
@@ -175,7 +175,7 @@ To add a new development package `uv add --dev <package>`
## Front end development
-The front end is built using AngularJS. In order to get started, you need Node.js (version 14.15+) and
+The front end is built using AngularJS. In order to get started, you need Node.js (version 24+) and
`pnpm`.
!!! note