diff --git a/.github/workflows/build-and-lint.yml b/.github/workflows/build-and-lint.yml index 4d85036e01..30ade15c88 100644 --- a/.github/workflows/build-and-lint.yml +++ b/.github/workflows/build-and-lint.yml @@ -17,12 +17,12 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 16.19.0 + node-version: 22.22.1 - name: Set up Yarn uses: actions/setup-node@v4 with: - node-version: 16.19.0 + node-version: 22.22.1 cache: "yarn" - name: Cache dependencies diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index b459fd0cc4..06998b5046 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -25,7 +25,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "16.19.0" + node-version: 22.22.1 - name: Install Dependencies run: yarn install @@ -36,7 +36,7 @@ jobs: - name: Setup Node.js for Docs uses: actions/setup-node@v4 with: - node-version: "18.x" + node-version: 22.22.1 - name: "Install dependencies for docs" run: yarn install diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4055f20ca6..b3087412a8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,7 +27,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "16.19.0" + node-version: 22.22.1 - name: Install Dependencies run: yarn install @@ -38,7 +38,7 @@ jobs: - name: Setup Node.js for Docs uses: actions/setup-node@v4 with: - node-version: "18.x" + node-version: 22.22.1 - name: "Install dependencies for docs" run: yarn install diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 3d4b133a9e..d473315a1d 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: 16.19.0 + node-version: 22.22.1 - name: Cache dependencies uses: actions/cache@v4 diff --git a/.nvmrc b/.nvmrc index d60d573ec6..ffa3aecbfb 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16.19.0 \ No newline at end of file +v22.22.1 \ No newline at end of file diff --git a/README.md b/README.md index 455b2fa897..c1b696664d 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Ensure that the "Enable CORS" option is turned on in your Rocket.Chat server. Yo #### Prerequisites -- **Node.js**: Version 16.19.0 is required. Use [Node Version Manager (NVM)](https://github.com/nvm-sh/nvm) for easy switching between Node.js versions. +- **Node.js**: Version 22.22.1 is required. Use [Node Version Manager (NVM)](https://github.com/nvm-sh/nvm) for easy switching between Node.js versions. To install and use the correct Node.js version, execute the following commands with the specific version number: diff --git a/packages/e2e-react/package.json b/packages/e2e-react/package.json index 1e34c0276c..19f3f94bee 100644 --- a/packages/e2e-react/package.json +++ b/packages/e2e-react/package.json @@ -19,7 +19,7 @@ }, "devDependencies": { "@playwright/test": "^1.41.2", - "@types/node": "^20.11.19", + "@types/node": "^22.0.0", "@types/react": "^18.2.55", "@types/react-dom": "^18.2.19", "@typescript-eslint/eslint-plugin": "^6.21.0",