build: use Node.js =20.3.0 for local dev env (#9204)

This commit is contained in:
Vladimír Gorej
2023-09-13 10:54:06 +02:00
committed by GitHub
parent d89726a24b
commit aea093dbf8
6 changed files with 9 additions and 9 deletions

View File

@@ -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

View File

@@ -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: |

View File

@@ -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

2
.nvmrc
View File

@@ -1 +1 @@
16.13.2
20.3.0

View File

@@ -76,7 +76,7 @@ module.exports = {
"@babel/env",
{
"targets": {
"node": "16.13.2"
"node": "20.3.0"
},
"ignoreBrowserslistConfig": true,
"useBuiltIns": false,

View File

@@ -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