mirror of https://github.com/hashicorp/consul
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
parent
c1a887e076
commit
3ecdb19cc6
|
@ -111,7 +111,7 @@ jobs:
|
|||
- name: Setup with node and yarn
|
||||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '20'
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'ui/yarn.lock'
|
||||
|
||||
|
@ -212,7 +212,7 @@ jobs:
|
|||
- name: Setup with node and yarn
|
||||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '20'
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'ui/yarn.lock'
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ jobs:
|
|||
|
||||
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '20'
|
||||
|
||||
- name: Install Yarn
|
||||
run: corepack enable
|
||||
|
@ -57,7 +57,7 @@ jobs:
|
|||
|
||||
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '20'
|
||||
|
||||
- name: Install Yarn
|
||||
run: corepack enable
|
||||
|
@ -87,7 +87,7 @@ jobs:
|
|||
|
||||
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '20'
|
||||
|
||||
- name: Install Yarn
|
||||
run: corepack enable
|
||||
|
@ -127,7 +127,7 @@ jobs:
|
|||
|
||||
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '20'
|
||||
|
||||
- name: Install Yarn
|
||||
run: corepack enable
|
||||
|
|
|
@ -29,6 +29,6 @@
|
|||
"ansi-html": "0.0.8"
|
||||
},
|
||||
"engines": {
|
||||
"node": "18"
|
||||
"node": "20"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -196,7 +196,7 @@
|
|||
"webpack": "^5.74.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "18"
|
||||
"node": "20"
|
||||
},
|
||||
"ember": {
|
||||
"edition": "octane"
|
||||
|
@ -211,7 +211,7 @@
|
|||
]
|
||||
},
|
||||
"volta": {
|
||||
"node": "18"
|
||||
"node": "20"
|
||||
},
|
||||
"dependencies": {
|
||||
"doctoc": "^2.0.0",
|
||||
|
|
Loading…
Reference in New Issue