From 7c22bcf8275878ae8d21f7e5414fabc1021aad9a Mon Sep 17 00:00:00 2001 From: Horatiu Muresan <39557534+horymury@users.noreply.github.com> Date: Thu, 16 May 2024 20:39:02 +0300 Subject: [PATCH] chore(node): Increment node ver to 20 (#13445) * chore(node) Update to node 20.x * fix * remove accidental file --- .devcontainer/devcontainer.json | 2 +- .github/workflows/ci.yml | 10 +++++----- .nvmrc | 2 +- package-lock.json | 4 ++-- package.json | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 74654ed18d..5224197e55 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ "image": "mcr.microsoft.com/devcontainers/universal:2", "features": { "ghcr.io/devcontainers/features/node:1": { - "version": "16" + "version": "20" } }, "hostRequirements": { diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab1bf4a118..69cfcfc1fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 cache: 'npm' - name: Get changed files id: changed-files @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 cache: 'npm' - run: npm install - run: make @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 cache: 'npm' - run: npm install - run: make @@ -59,7 +59,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 cache: 'npm' - run: npm install - run: npx react-native bundle --entry-file react/index.native.js --platform android --bundle-output /tmp/android.bundle --reset-cache @@ -74,7 +74,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 cache: 'npm' - run: npm install - name: setup Xcode diff --git a/.nvmrc b/.nvmrc index b6a7d89c68..209e3ef4b6 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 +20 diff --git a/package-lock.json b/package-lock.json index d413b432f6..5754a7c703 100644 --- a/package-lock.json +++ b/package-lock.json @@ -178,8 +178,8 @@ "webpack-dev-server": "4.7.3" }, "engines": { - "node": ">=14.0.0", - "npm": ">=7.0.0" + "node": ">=20.0.0", + "npm": ">=10.0.0" } }, "../lib-jitsi-meet": { diff --git a/package.json b/package.json index 053eb851ea..ec350b48c4 100644 --- a/package.json +++ b/package.json @@ -187,8 +187,8 @@ "@xmldom/xmldom": "0.8.7" }, "engines": { - "node": ">=14.0.0", - "npm": ">=7.0.0" + "node": ">=20.0.0", + "npm": ">=10.0.0" }, "license": "Apache-2.0", "scripts": {