Skip to content

Commit 45374db

Browse files
authored
[chore]: bump min version of node from 20 to 22 (#35286)
1 parent e4dc9d0 commit 45374db

File tree

77 files changed

+169
-82
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+169
-82
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VARIANT=20-bookworm
1+
ARG VARIANT=22-bookworm
22
# https://github.com/devcontainers/images/tree/main/src/typescript-node
33
FROM mcr.microsoft.com/devcontainers/typescript-node:1-${VARIANT}
44

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"build": {
44
"dockerfile": "Dockerfile",
55
"args": {
6-
"VARIANT": "20-bookworm"
6+
"VARIANT": "22-bookworm"
77
}
88
},
99
"features": {

.devops/templates/tools.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ steps:
66
# - we can use only versions that ship with container, otherwise we will run into nodejs installation issues.
77
# - as 1es bumps those versions within container automatically we need to use `<major>.x` to not run into issues once they bump the versions.
88
# https://github.com/actions/runner-images/blob/ubuntu20/20230924.1/images/linux/Ubuntu2004-Readme.md#nodejs
9-
version: '20.x'
9+
version: '22.x'
1010
checkLatest: false
1111
displayName: 'Install Node.js'
1212
retryCountOnTaskFailure: 1

.github/workflows/bundle-size-base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/setup-node@v4
3030
with:
3131
cache: 'yarn'
32-
node-version: '20'
32+
node-version: '22'
3333

3434
- run: yarn install --frozen-lockfile
3535

.github/workflows/bundle-size.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- uses: actions/setup-node@v4
3636
with:
3737
cache: 'yarn'
38-
node-version: '20'
38+
node-version: '22'
3939

4040
- run: echo number of CPUs "$(getconf _NPROCESSORS_ONLN)"
4141

.github/workflows/check-packages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
- uses: actions/setup-node@v4
1515
with:
16-
node-version: 20.x
16+
node-version: '22'
1717
cache: 'yarn'
1818

1919
- uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
@@ -46,7 +46,7 @@ jobs:
4646

4747
- uses: actions/setup-node@v4
4848
with:
49-
node-version: 20.x
49+
node-version: 22.x
5050

5151
- uses: actions/github-script@v7
5252
with:
@@ -73,7 +73,7 @@ jobs:
7373

7474
- uses: actions/setup-node@v4
7575
with:
76-
node-version: 20.x
76+
node-version: 22.x
7777

7878
- uses: actions/github-script@v7
7979
with:

.github/workflows/check-tooling.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- uses: actions/setup-node@v4
2828
with:
29-
node-version: 20.x
29+
node-version: '22'
3030

3131
- run: yarn install --frozen-lockfile
3232

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
uses: actions/setup-node@v4
2828
with:
2929
cache: 'yarn'
30-
node-version: '20'
30+
node-version: '22'
3131

3232
- run: yarn install --frozen-lockfile

.github/workflows/docsite-publish-ghpages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- uses: actions/setup-node@v4
2727
with:
28-
node-version: 20
28+
node-version: '22'
2929
cache: 'yarn'
3030

3131
- name: Install packages

.github/workflows/pr-vrt-poc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
- uses: actions/setup-node@v4
7575
with:
7676
cache: 'yarn'
77-
node-version: '20'
77+
node-version: '22'
7878

7979
- run: yarn install --frozen-lockfile
8080
- run: yarn playwright install --with-deps
@@ -141,7 +141,7 @@ jobs:
141141
- uses: actions/setup-node@v4
142142
with:
143143
cache: 'yarn'
144-
node-version: '20'
144+
node-version: '22'
145145

146146
- run: yarn install --frozen-lockfile
147147
- run: yarn playwright install --with-deps

0 commit comments

Comments
 (0)