diff --git a/.github/workflows/generator.yml b/.github/workflows/generator.yml index b969f523f43e..075884c3b3d9 100644 --- a/.github/workflows/generator.yml +++ b/.github/workflows/generator.yml @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16.17.0 + node-version: 18.16.0 - name: 'SETUP: load npm cache' uses: actions/cache@v3 with: diff --git a/generators/generator-constants.mts b/generators/generator-constants.mts index 0fcf84c6e543..e56a3c650e23 100644 --- a/generators/generator-constants.mts +++ b/generators/generator-constants.mts @@ -25,7 +25,7 @@ export const JAVA_COMPATIBLE_VERSIONS = ['17', '18', '19']; export const ADD_SPRING_MILESTONE_REPOSITORY = false; // Version of Node, NPM -export const NODE_VERSION = '16.17.0'; +export const NODE_VERSION = '18.16.0'; export const OPENAPI_GENERATOR_CLI_VERSION = '2.5.1'; export const javaDependencies: Record = { diff --git a/package-lock.json b/package-lock.json index c9047c407a60..d3b2da50f5a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -102,7 +102,7 @@ "yeoman-test": "8.0.0-rc.0" }, "engines": { - "node": "^16.13.0 || 18.13.0 || >=18.16.0", + "node": "^18.13.0 || >= 20.2.0", "npm": ">=8.0.0" }, "funding": { diff --git a/package.json b/package.json index c6445e1dadb3..cc5be9a783d8 100644 --- a/package.json +++ b/package.json @@ -170,7 +170,7 @@ "yeoman-test": "8.0.0-rc.0" }, "engines": { - "node": "^16.13.0 || 18.13.0 || >=18.16.0", + "node": "^18.13.0 || >= 20.2.0", "npm": ">=8.0.0" }, "collective": {