Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Node 20 => 22

Manav Rathi51f13191b3fc
diff --git a/.github/workflows/desktop-lint.yml b/.github/workflows/desktop-lint.yml
index 8480fabc0d..c384cb2268 100644
--- a/.github/workflows/desktop-lint.yml
+++ b/.github/workflows/desktop-lint.yml
@@ -23,7 +23,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: "yarn"
cache-dependency-path: "desktop/yarn.lock"
diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml
index 1737775726..10fc84fe5f 100644
--- a/.github/workflows/docs-deploy.yml
+++ b/.github/workflows/docs-deploy.yml
@@ -28,7 +28,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: "yarn"
cache-dependency-path: "docs/yarn.lock"
diff --git a/.github/workflows/docs-verify-build.yml b/.github/workflows/docs-verify-build.yml
index a0b4cc359a..afede699b6 100644
--- a/.github/workflows/docs-verify-build.yml
+++ b/.github/workflows/docs-verify-build.yml
@@ -28,7 +28,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: "yarn"
cache-dependency-path: "docs/yarn.lock"
diff --git a/.github/workflows/infra-deploy-staff.yml b/.github/workflows/infra-deploy-staff.yml
index 6f1bf7212e..c38ede760e 100644
--- a/.github/workflows/infra-deploy-staff.yml
+++ b/.github/workflows/infra-deploy-staff.yml
@@ -28,7 +28,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: "yarn"
cache-dependency-path: "infra/staff/yarn.lock"
diff --git a/.github/workflows/infra-lint-staff.yml b/.github/workflows/infra-lint-staff.yml
index ed2189181d..9022fa6125 100644
--- a/.github/workflows/infra-lint-staff.yml
+++ b/.github/workflows/infra-lint-staff.yml
@@ -25,7 +25,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: "yarn"
cache-dependency-path: "infra/staff/yarn.lock"
diff --git a/.github/workflows/web-deploy-one.yml b/.github/workflows/web-deploy-one.yml
index 62711ec7ae..fd24af13e3 100644
--- a/.github/workflows/web-deploy-one.yml
+++ b/.github/workflows/web-deploy-one.yml
@@ -33,7 +33,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
diff --git a/.github/workflows/web-deploy-preview.yml b/.github/workflows/web-deploy-preview.yml
index 3590adac31..52d131179c 100644
--- a/.github/workflows/web-deploy-preview.yml
+++ b/.github/workflows/web-deploy-preview.yml
@@ -33,7 +33,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
diff --git a/.github/workflows/web-deploy-staging.yml b/.github/workflows/web-deploy-staging.yml
index dddd03d53d..e0652c36b1 100644
--- a/.github/workflows/web-deploy-staging.yml
+++ b/.github/workflows/web-deploy-staging.yml
@@ -41,7 +41,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
diff --git a/.github/workflows/web-deploy.yml b/.github/workflows/web-deploy.yml
index 18dd252443..32fee17ad4 100644
--- a/.github/workflows/web-deploy.yml
+++ b/.github/workflows/web-deploy.yml
@@ -37,7 +37,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
diff --git a/.github/workflows/web-lint.yml b/.github/workflows/web-lint.yml
index 2971bc3718..517022997d 100644
--- a/.github/workflows/web-lint.yml
+++ b/.github/workflows/web-lint.yml
@@ -28,7 +28,7 @@ jobs:
- name: Setup node and enable yarn caching
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
diff --git a/desktop/.github/workflows/desktop-release.yml b/desktop/.github/workflows/desktop-release.yml
index 335de87258..fa8c8e53ef 100644
--- a/desktop/.github/workflows/desktop-release.yml
+++ b/desktop/.github/workflows/desktop-release.yml
@@ -52,7 +52,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: 22
- name: Increase yarn timeout
# `yarn install` times out sometimes on the Windows runner,
diff --git a/web/Dockerfile b/web/Dockerfile
index b2f9ce4e4e..4b0f4020e7 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -1,6 +1,6 @@
# Docs - https://github.com/ente-io/ente/blob/main/web/docs/docker.md
-FROM node:20-alpine AS builder
+FROM node:22-alpine AS builder
WORKDIR /build
COPY . .
diff --git a/web/docs/new.md b/web/docs/new.md
index 8485a5dcd1..5c56237065 100644
--- a/web/docs/new.md
+++ b/web/docs/new.md
@@ -13,9 +13,9 @@ development, here is a recommended workflow:
some examples:
- OS agnostic: Install [NVM](https://github.com/nvm-sh/nvm), then
- `nvm install 20 && corepack enable`.
+ `nvm install 22 && corepack enable`.
- - macOS: `brew install node@20`
+ - macOS: `brew install node@22`
- Ubuntu: `sudo apt install nodejs npm && sudo npm i -g corepack`