diff --git a/.node-version b/.node-version index a9d087399d71..6fa8dec4cd67 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -18.19.0 +22.13.0 diff --git a/.nvmrc b/.nvmrc index a9d087399d71..6fa8dec4cd67 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18.19.0 +22.13.0 diff --git a/Dockerfile b/Dockerfile index 960321ef1051..92904c7e52a3 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG NODE_VERSION=18.19.0 +ARG NODE_VERSION=22.13.0 FROM node:${NODE_VERSION} AS base ENV HOME '.' diff --git a/TESTING.md b/TESTING.md index 70bf8eb18bb7..7aeb9a50a6b6 100644 --- a/TESTING.md +++ b/TESTING.md @@ -28,7 +28,7 @@ In general, we recommend four tiers of tests: # Requirements * Install the latest NodeJS, [NPM](https://www.npmjs.com/get-npm) and [Yarn](https://classic.yarnpkg.com/en/docs/install/#mac-stable) - * `nvm install v18.19.0` + * `nvm install v22.13.0` * `npm install -g yarn` # Running tests @@ -122,4 +122,4 @@ sudo apt-get install -y --allow-downgrades /tmp/chrome.deb Although Jest is the standard for this project, there are a few Mocha tests that still exist. You can run these tests by running: `yarn test:mocha` -However, these tests will eventually be migrated; please avoid writing new Mocha tests. For further questions or to check the status, please see this [issue](https://github.com/opensearch-project/OpenSearch-Dashboards/issues/215). +However, these tests will eventually be migrated; please avoid writing new Mocha tests. For further questions or to check the status, please see this [issue](https://github.com/opensearch-project/OpenSearch-Dashboards/issues/215). \ No newline at end of file diff --git a/package.json b/package.json index 82768f1d5405..f1b8a7582ed1 100644 --- a/package.json +++ b/package.json @@ -503,7 +503,7 @@ "zlib": "^1.0.5" }, "engines": { - "node": ">=14.20.1 <19", + "node": ">=14.20.1 <23", "yarn": "^1.22.10" } }