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

.github/workflows/release-log.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Node.js 20.x
3232
uses: actions/setup-node@master
3333
with:
34-
node-version: 20.x
34+
node-version: 22.10.0
3535

3636
- name: Get PR number and send to tracker.
3737
run: node scripts/ci/log-changesets.js

.github/workflows/release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup Node.js 20.x
3636
uses: actions/setup-node@master
3737
with:
38-
node-version: 20.x
38+
node-version: 22.10.0
3939

4040
- name: Install Dependencies
4141
run: yarn

.github/workflows/release-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set up node (20)
3636
uses: actions/setup-node@v3
3737
with:
38-
node-version: 20.x
38+
node-version: 22.10.0
3939
- name: Checkout release branch (with history)
4040
uses: actions/checkout@v4
4141
with:

.github/workflows/release-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Set up node (20)
5050
uses: actions/setup-node@v3
5151
with:
52-
node-version: 20.x
52+
node-version: 22.10.0
5353
- name: Merge main into release
5454
uses: actions/github-script@v6
5555
with:

.github/workflows/release-tweet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup Node.js 20.x
3838
uses: actions/setup-node@master
3939
with:
40-
node-version: 20.x
40+
node-version: 22.10.0
4141
- name: Poll release notes page on devsite
4242
run: node scripts/ci/poll_release_notes.js
4343
env:

.github/workflows/test-all.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Set up Node (20)
4444
uses: actions/setup-node@v3
4545
with:
46-
node-version: 20.x
46+
node-version: 22.10.0
4747
- name: Test setup and yarn install
4848
run: |
4949
cp config/ci.config.json config/project.json
@@ -82,7 +82,7 @@ jobs:
8282
- name: Set up Node (20)
8383
uses: actions/setup-node@v3
8484
with:
85-
node-version: 20.x
85+
node-version: 22.10.0
8686
- name: Test setup and yarn install
8787
run: |
8888
cp config/ci.config.json config/project.json
@@ -133,7 +133,7 @@ jobs:
133133
- name: Set up Node (20)
134134
uses: actions/setup-node@v3
135135
with:
136-
node-version: 20.x
136+
node-version: 22.10.0
137137
- name: Test setup and yarn install
138138
run: |
139139
cp config/ci.config.json config/project.json
@@ -173,7 +173,7 @@ jobs:
173173
- name: Set up Node (20)
174174
uses: actions/setup-node@v3
175175
with:
176-
node-version: 20.x
176+
node-version: 22.10.0
177177
- name: Test setup and yarn install
178178
run: |
179179
cp config/ci.config.json config/project.json
@@ -217,7 +217,7 @@ jobs:
217217
- name: Set up Node (20)
218218
uses: actions/setup-node@v3
219219
with:
220-
node-version: 20.x
220+
node-version: 22.10.0
221221
- run: cp config/ci.config.json config/project.json
222222
- run: yarn
223223
- run: yarn build:${{ matrix.persistence }}

.github/workflows/test-changed-auth.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Set up Node (20)
6060
uses: actions/setup-node@v3
6161
with:
62-
node-version: 20.x
62+
node-version: 22.10.0
6363
- name: Test setup and yarn install
6464
run: |
6565
cp config/ci.config.json config/project.json
@@ -91,7 +91,7 @@ jobs:
9191
- name: Set up Node (20)
9292
uses: actions/setup-node@v3
9393
with:
94-
node-version: 20.x
94+
node-version: 22.10.0
9595
- name: Test setup and yarn install
9696
run: |
9797
cp config/ci.config.json config/project.json
@@ -115,7 +115,7 @@ jobs:
115115
- name: Set up Node (20)
116116
uses: actions/setup-node@v3
117117
with:
118-
node-version: 20.x
118+
node-version: 22.10.0
119119
- name: Test setup and yarn install
120120
run: |
121121
cp config/ci.config.json config/project.json

.github/workflows/test-changed-fcm-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Set up Node (20)
4242
uses: actions/setup-node@v3
4343
with:
44-
node-version: 20.x
44+
node-version: 22.10.0
4545
- name: Test setup and yarn install
4646
run: |
4747
cp config/ci.config.json config/project.json

.github/workflows/test-changed-firestore-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: Set up Node (20)
7272
uses: actions/setup-node@v3
7373
with:
74-
node-version: 20.x
74+
node-version: 22.10.0
7575
- name: install Chrome stable
7676
run: |
7777
sudo apt-get update

.github/workflows/test-changed-firestore.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Set up Node (20)
4141
uses: actions/setup-node@v3
4242
with:
43-
node-version: 20.x
43+
node-version: 22.10.0
4444
- name: install Chrome stable
4545
run: |
4646
sudo apt-get update
@@ -87,7 +87,7 @@ jobs:
8787
- name: Set up Node (20)
8888
uses: actions/setup-node@v3
8989
with:
90-
node-version: 20.x
90+
node-version: 22.10.0
9191
- name: install Chrome stable
9292
run: |
9393
sudo apt-get update
@@ -115,7 +115,7 @@ jobs:
115115
- name: Set up Node (20)
116116
uses: actions/setup-node@v3
117117
with:
118-
node-version: 20.x
118+
node-version: 22.10.0
119119
- name: install Chrome stable
120120
run: |
121121
sudo apt-get update
@@ -145,7 +145,7 @@ jobs:
145145
- name: Set up Node (20)
146146
uses: actions/setup-node@v3
147147
with:
148-
node-version: 20.x
148+
node-version: 22.10.0
149149
- name: install Chrome stable
150150
run: |
151151
sudo apt-get update
@@ -183,7 +183,7 @@ jobs:
183183
- name: Set up Node (20)
184184
uses: actions/setup-node@v3
185185
with:
186-
node-version: 20.x
186+
node-version: 22.10.0
187187
- name: Download build archive
188188
uses: actions/download-artifact@v3
189189
with:
@@ -222,7 +222,7 @@ jobs:
222222
- name: Set up Node (20)
223223
uses: actions/setup-node@v3
224224
with:
225-
node-version: 20.x
225+
node-version: 22.10.0
226226
- name: Test setup and yarn install
227227
run: cp config/ci.config.json config/project.json
228228
- name: Run tests
@@ -240,7 +240,7 @@ jobs:
240240
- name: Set up Node (20)
241241
uses: actions/setup-node@v3
242242
with:
243-
node-version: 20.x
243+
node-version: 22.10.0
244244
- name: Download build archive
245245
uses: actions/download-artifact@v3
246246
with:
@@ -277,7 +277,7 @@ jobs:
277277
- name: Set up Node (20)
278278
uses: actions/setup-node@v3
279279
with:
280-
node-version: 20.x
280+
node-version: 22.10.0
281281
- name: Test setup
282282
run: |
283283
cp config/ci.config.json config/project.json

.github/workflows/test-changed-misc.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: install Chrome stable
3939
run: |
4040
sudo apt-get update

.github/workflows/test-changed.yml

Lines changed: 3 additions & 3 deletions
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: install Chrome stable
3939
run: |
4040
sudo apt-get update
@@ -63,7 +63,7 @@ jobs:
6363
- name: Set up Node (20)
6464
uses: actions/setup-node@v3
6565
with:
66-
node-version: 20.x
66+
node-version: 22.10.0
6767
- name: install Firefox stable
6868
run: |
6969
sudo apt-get update
@@ -92,7 +92,7 @@ jobs:
9292
- name: Set up Node (20)
9393
uses: actions/setup-node@v3
9494
with:
95-
node-version: 20.x
95+
node-version: 22.10.0
9696
- name: Test setup and yarn install
9797
run: |
9898
cp config/ci.config.json config/project.json

.github/workflows/test-firebase-integration.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: install Chrome stable
3939
run: |
4040
sudo apt-get update

.github/workflows/update-api-reports.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up node (20)
3434
uses: actions/setup-node@v3
3535
with:
36-
node-version: 20.x
36+
node-version: 22.10.0
3737
- name: Yarn install
3838
run: yarn
3939
- name: Update API reports

0 commit comments

Comments
 (0)