build: use Node.js =20.3.0 for local dev env (#9204)
This commit is contained in:
8
.github/workflows/nodejs.yml
vendored
8
.github/workflows/nodejs.yml
vendored
@@ -19,10 +19,10 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js 16.x
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
|
||||
- name: Cache Node Modules and Cypress binary
|
||||
uses: actions/cache@v3
|
||||
@@ -61,10 +61,10 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js 16.x
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
|
||||
- name: Cache Node Modules and Cypress binary
|
||||
uses: actions/cache@v3
|
||||
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
|
||||
- name: Prepare SwaggerUI dist
|
||||
run: |
|
||||
|
||||
2
.github/workflows/release-swagger-ui.yml
vendored
2
.github/workflows/release-swagger-ui.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
|
||||
- name: Determine the next release version
|
||||
uses: cycjimmy/semantic-release-action@v3
|
||||
|
||||
@@ -76,7 +76,7 @@ module.exports = {
|
||||
"@babel/env",
|
||||
{
|
||||
"targets": {
|
||||
"node": "16.13.2"
|
||||
"node": "20.3.0"
|
||||
},
|
||||
"ignoreBrowserslistConfig": true,
|
||||
"useBuiltIns": false,
|
||||
|
||||
@@ -5,7 +5,7 @@ Swagger UI includes a development server that provides hot module reloading and
|
||||
### Prerequisites
|
||||
|
||||
- git, any version
|
||||
- **Node.js >=16.13.2** and **npm >=8.1.2** are the minimum required versions that this repo runs on, but we recommend using the latest version of Node.js@16
|
||||
- **Node.js >=20.3.0** and **npm >=9.6.7** are the minimum required versions that this repo runs on, but we always recommend using the latest version of Node.js.
|
||||
|
||||
### Steps
|
||||
|
||||
|
||||
Reference in New Issue
Block a user