build: require node v20 (#7333)

Set minimum node version to v20 (from v18)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7333
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
This commit is contained in:
Michael Kriese 2025-03-25 22:32:46 +00:00 committed by Gusted
parent c531b8f020
commit c45a1d9984
2 changed files with 2 additions and 2 deletions

2
package-lock.json generated
View file

@ -103,7 +103,7 @@
"vitest": "3.0.8" "vitest": "3.0.8"
}, },
"engines": { "engines": {
"node": ">= 18.0.0" "node": ">= 20.0.0"
} }
}, },
"node_modules/@alloc/quick-lru": { "node_modules/@alloc/quick-lru": {

View file

@ -2,7 +2,7 @@
"name": "forgejo", "name": "forgejo",
"type": "module", "type": "module",
"engines": { "engines": {
"node": ">= 18.0.0" "node": ">= 20.0.0"
}, },
"dependencies": { "dependencies": {
"@citation-js/core": "0.7.14", "@citation-js/core": "0.7.14",