Switch to NodeJS LTS 20 "Iron"

NodeJS 18 "Hydrogen" will be EOL in April 2025, so we should switch to a
newer LTS. The latest LTS 22 "Jod" failed to build for me.

Closed #22065.

Signed-off-by: hashworks <mail@hashworks.net>
pull/22066/head
hashworks 2025-01-10 14:32:30 +01:00
parent c1a887e076
commit 3ecdb19cc6
No known key found for this signature in database
GPG Key ID: 69EF6D9E49A64EB8
4 changed files with 9 additions and 9 deletions

View File

@ -111,7 +111,7 @@ jobs:
- name: Setup with node and yarn - name: Setup with node and yarn
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: '18' node-version: '20'
cache: 'yarn' cache: 'yarn'
cache-dependency-path: 'ui/yarn.lock' cache-dependency-path: 'ui/yarn.lock'
@ -212,7 +212,7 @@ jobs:
- name: Setup with node and yarn - name: Setup with node and yarn
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: '18' node-version: '20'
cache: 'yarn' cache: 'yarn'
cache-dependency-path: 'ui/yarn.lock' cache-dependency-path: 'ui/yarn.lock'

View File

@ -37,7 +37,7 @@ jobs:
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: '18' node-version: '20'
- name: Install Yarn - name: Install Yarn
run: corepack enable run: corepack enable
@ -57,7 +57,7 @@ jobs:
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: '18' node-version: '20'
- name: Install Yarn - name: Install Yarn
run: corepack enable run: corepack enable
@ -87,7 +87,7 @@ jobs:
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: '18' node-version: '20'
- name: Install Yarn - name: Install Yarn
run: corepack enable run: corepack enable
@ -127,7 +127,7 @@ jobs:
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: '18' node-version: '20'
- name: Install Yarn - name: Install Yarn
run: corepack enable run: corepack enable

View File

@ -29,6 +29,6 @@
"ansi-html": "0.0.8" "ansi-html": "0.0.8"
}, },
"engines": { "engines": {
"node": "18" "node": "20"
} }
} }

View File

@ -196,7 +196,7 @@
"webpack": "^5.74.0" "webpack": "^5.74.0"
}, },
"engines": { "engines": {
"node": "18" "node": "20"
}, },
"ember": { "ember": {
"edition": "octane" "edition": "octane"
@ -211,7 +211,7 @@
] ]
}, },
"volta": { "volta": {
"node": "18" "node": "20"
}, },
"dependencies": { "dependencies": {
"doctoc": "^2.0.0", "doctoc": "^2.0.0",