Node 20 => 22

This commit is contained in:
Manav Rathi
2025-04-09 08:36:43 +05:30
parent 9d4d3dc159
commit 51f13191b3
13 changed files with 14 additions and 14 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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,

View File

@@ -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 . .

View File

@@ -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`