Skip to content

Commit 943846a

Browse files
committed
Upgrade workflows Node version from 20.x to 22.10.0
Node 22 enters LTS on October 29th, 2024, so we should upgrade CI to run on Node 22. Would there be any benefits to using `22.x` instead of `22.10.0`? I specified an exact version in case it helps with reproducability.
1 parent e577a40 commit 943846a

24 files changed

+40
-40
lines changed

.github/workflows/canary-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up Node (20)
3535
uses: actions/setup-node@v3
3636
with:
37-
node-version: 20.x
37+
node-version: 22.10.0
3838
- name: Yarn install
3939
run: yarn
4040
- name: Deploy canary

.github/workflows/check-changeset.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Set up Node (20)
3838
uses: actions/setup-node@v3
3939
with:
40-
node-version: 20.x
40+
node-version: 22.10.0
4141
- name: Yarn install
4242
run: yarn
4343
- name: Run changeset script

.github/workflows/check-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Node (20)
3131
uses: actions/setup-node@v3
3232
with:
33-
node-version: 20.x
33+
node-version: 22.10.0
3434
- name: Yarn install
3535
run: yarn
3636
- name: Run doc generation

.github/workflows/check-pkg-paths.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Node (20)
3131
uses: actions/setup-node@v3
3232
with:
33-
node-version: 20.x
33+
node-version: 22.10.0
3434
- name: Yarn install
3535
run: yarn
3636
- name: Yarn build

.github/workflows/deploy-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Set up node (20)
3939
uses: actions/setup-node@v3
4040
with:
41-
node-version: 20.x
41+
node-version: 22.10.0
4242
- name: Yarn install
4343
run: yarn
4444
- name: Deploy project config if needed

.github/workflows/e2e-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Set up Node (20)
4040
uses: actions/setup-node@master
4141
with:
42-
node-version: 20.x
42+
node-version: 22.10.0
4343
- name: install Chrome stable
4444
run: |
4545
sudo apt-get update

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up node (20)
3535
uses: actions/setup-node@v3
3636
with:
37-
node-version: 20.x
37+
node-version: 22.10.0
3838
- name: Yarn install
3939
run: yarn
4040
- name: Run formatting script

.github/workflows/health-metrics-pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- uses: actions/checkout@v3
4242
- uses: actions/setup-node@v3
4343
with:
44-
node-version: 20.x
44+
node-version: 22.10.0
4545
- uses: 'google-github-actions/auth@v0'
4646
with:
4747
credentials_json: '${{ secrets.GCP_SA_KEY }}'
@@ -58,7 +58,7 @@ jobs:
5858
- uses: actions/checkout@v3
5959
- uses: actions/setup-node@v3
6060
with:
61-
node-version: 20.x
61+
node-version: 22.10.0
6262
- uses: 'google-github-actions/auth@v0'
6363
with:
6464
credentials_json: '${{ secrets.GCP_SA_KEY }}'

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up node (20)
2727
uses: actions/setup-node@v3
2828
with:
29-
node-version: 20.x
29+
node-version: 22.10.0
3030
- name: yarn install
3131
run: yarn
3232
- name: yarn lint

.github/workflows/prerelease-manual-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Set up node (20)
3838
uses: actions/setup-node@v3
3939
with:
40-
node-version: 20.x
40+
node-version: 22.10.0
4141
- name: Yarn install
4242
run: yarn
4343
- name: Deploy prerelease

0 commit comments

Comments
 (0)