Bump Node to 22.22.3, npm to ^10.9.8

Bumps supported Node engines to `^22.22.3 || ^24.15.0`.

Updates to Node 22.22.3 for development, production, GitHub workflows
and in documentation.
This commit is contained in:
Alexander Brandon Coles
2026-06-07 19:15:24 +01:00
parent 768e8c4231
commit ead911e214
14 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ jobs:
bundler-cache: true
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 22.15
node-version: 22.22.3
package-manager-cache: false
cache: npm
cache-dependency-path: |
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '22.15'
node-version: '22.22.3'
package-manager-cache: false
cache: npm
cache-dependency-path: frontend/package-lock.json
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '22.21'
node-version: '22.22.3'
package-manager-cache: false
- name: Required git config
+1 -1
View File
@@ -41,7 +41,7 @@ jobs:
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: '22.15'
node-version: '22.22.3'
package-manager-cache: false
- name: Install Dependencies
+2 -2
View File
@@ -8,7 +8,7 @@
- **Size**: Large monorepo (~840MB, ~1M+ lines of code)
- **Backend**: Ruby 3.4.7, Rails ~8.0.3
- **Frontend**: Node.js 22.21.0, npm 10.1.0+, TypeScript
- **Frontend**: Node.js 22.22.3 or 24.15.0+, npm 10.9.8+, TypeScript
- **Database**: PostgreSQL (required)
- **Architecture**: Server-rendered HTML with Hotwire (Turbo + Stimulus). Legacy Angular components exist and are being migrated to custom elements. Uses GitHub's Primer Design System via ViewComponent.
- **Editions**: Community, Enterprise (SSO, LDAP, SCIM), and BIM (construction industry, code in `modules/bim/`)
@@ -17,7 +17,7 @@
**ALWAYS verify versions before building:**
- Ruby: `3.4.7` (see `.ruby-version`)
- Node: `^22.21.0` (see `package.json` engines)
- Node: `^22.22.3 || ^24.15.0` (see `package.json` engines)
- Bundler: Latest 2.x
### Local Development Setup
+1 -1
View File
@@ -2,7 +2,7 @@
ARG RUBY_VERSION
FROM ruby:${RUBY_VERSION}-trixie
ENV NODE_VERSION="22.21.0"
ENV NODE_VERSION="22.22.3"
ENV DEBIAN_FRONTEND=noninteractive
ENV BUNDLE_WITHOUT="development:production:docker"
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:22.21.0
FROM node:22.22.3
LABEL org.opencontainers.image.authors="operations@openproject.com"
ARG DEV_UID=1000
+2 -2
View File
@@ -6,7 +6,7 @@ ARG BUILDKIT_SBOM_SCAN_STAGE=true
FROM ruby:${RUBY_VERSION}-slim-trixie AS runtime-base
LABEL maintainer="operations@openproject.com"
ARG NODE_VERSION="22.21.0"
ARG NODE_VERSION="22.22.3"
ARG BIM_SUPPORT=true
ENV USE_JEMALLOC=false
ENV DEBIAN_FRONTEND=noninteractive
@@ -61,7 +61,7 @@ COPY ./docker/prod/setup/preinstall-common.sh ./docker/prod/setup/preinstall-com
RUN ./docker/prod/setup/preinstall-common.sh
FROM runtime-base AS build-base
ARG NODE_VERSION="22.21.0"
ARG NODE_VERSION="22.22.3"
# build-only dependencies
COPY ./docker/prod/setup/preinstall-build.sh ./docker/prod/setup/preinstall-build.sh
@@ -161,11 +161,11 @@ git clone https://github.com/nodenv/node-build.git $(nodenv root)/plugins/node-b
You can find the latest LTS version here: [nodejs.org/en/download/](https://nodejs.org/en/download/)
At the time of writing this is v22.21.0 Install and activate it with:
At the time of writing this is v22.22.3 Install and activate it with:
```shell
nodenv install 22.21.0
nodenv global 22.21.0
nodenv install 22.22.3
nodenv global 22.22.3
nodenv rehash
```
@@ -187,10 +187,10 @@ bundler --version
4.0.9
node --version
v22.21.0
v22.22.3
npm --version
10.5.0
10.9.8
```
## Install OpenProject Sources
@@ -115,11 +115,11 @@ nodenv init
You can find the latest LTS version here: [nodejs.org/en/download](https://nodejs.org/en/download/)
At the time of writing this is v22.21.0. Install and activate it with:
At the time of writing this is v22.22.3. Install and activate it with:
```shell
nodenv install 22.21.0
nodenv global 22.21.0
nodenv install 22.22.3
nodenv global 22.22.3
```
#### Update NPM to the latest version
@@ -140,10 +140,10 @@ $ bundler --version
4.0.3
node --version
v22.21.0
v22.22.3
npm --version
10.5.0
10.9.8
```
## Install OpenProject
@@ -145,7 +145,7 @@ time to finish.
To check our Node installation we run `node --version`. It should output something very similar to:
```text
v22.21.0
v22.22.3
```
## Installation of OpenProject
+1 -1
View File
@@ -14,7 +14,7 @@
## Version Requirements
- Node: `^22.21.0` (see `package.json` engines)
- Node: `^22.22.3 || ^24.15.0` (see `package.json` engines)
## Setup
+2 -2
View File
@@ -15,8 +15,8 @@
"@redocly/cli": "^2.17.0"
},
"engines": {
"node": "^22.21.0",
"npm": "^10.1.0"
"node": "^22.22.3 || ^24.15.0",
"npm": "^10.9.8"
}
},
"node_modules/@babel/code-frame": {
+2 -2
View File
@@ -10,8 +10,8 @@
},
"private": true,
"engines": {
"node": "^22.21.0",
"npm": "^10.1.0"
"node": "^22.22.3 || ^24.15.0",
"npm": "^10.9.8"
},
"devDependencies": {
"@redocly/cli": "^2.17.0"