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:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Use Node.js 16.x
|
- name: Use Node.js 20.x
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 20
|
||||||
|
|
||||||
- name: Cache Node Modules and Cypress binary
|
- name: Cache Node Modules and Cypress binary
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
@@ -61,10 +61,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Use Node.js 16.x
|
- name: Use Node.js 20.x
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 20
|
||||||
|
|
||||||
- name: Cache Node Modules and Cypress binary
|
- name: Cache Node Modules and Cypress binary
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 20
|
||||||
|
|
||||||
- name: Prepare SwaggerUI dist
|
- name: Prepare SwaggerUI dist
|
||||||
run: |
|
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
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 20
|
||||||
|
|
||||||
- name: Determine the next release version
|
- name: Determine the next release version
|
||||||
uses: cycjimmy/semantic-release-action@v3
|
uses: cycjimmy/semantic-release-action@v3
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ module.exports = {
|
|||||||
"@babel/env",
|
"@babel/env",
|
||||||
{
|
{
|
||||||
"targets": {
|
"targets": {
|
||||||
"node": "16.13.2"
|
"node": "20.3.0"
|
||||||
},
|
},
|
||||||
"ignoreBrowserslistConfig": true,
|
"ignoreBrowserslistConfig": true,
|
||||||
"useBuiltIns": false,
|
"useBuiltIns": false,
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Swagger UI includes a development server that provides hot module reloading and
|
|||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
- git, any version
|
- 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
|
### Steps
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user