Skip to content

Commit a03b7e6

Browse files
chore(deps): update node.js to v22 (#4277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 95c430e commit a03b7e6

File tree

12 files changed

+28
-25
lines changed

12 files changed

+28
-25
lines changed

.github/actions/file-diff/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ outputs:
3131
total-size:
3232
description: "Total size of the files in bytes."
3333
runs:
34-
using: "node20"
34+
using: "node22"
3535
main: "index.js"

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Validate successful build
44
# in several environments:
55
#
66
# Systems: Ubuntu, MacOS, // Windows
7-
# Node: 20
7+
# Node: 22
88
#
99
# After the build is successful, the compiled assets are uploaded as an artifact
1010
# to the workflow run. This allows us to download the compiled assets and use
@@ -17,12 +17,15 @@ on:
1717
workflow_dispatch:
1818
inputs:
1919
system:
20+
description: "The system to build on"
2021
required: false
2122
default: "macos-latest"
2223
node-version:
24+
description: "The Node.js version to use"
2325
required: false
24-
default: "20"
26+
default: "22"
2527
experimental:
28+
description: "Whether to run experimental builds"
2629
required: false
2730
default: "false"
2831
ref:
@@ -37,7 +40,7 @@ on:
3740
node-version:
3841
required: false
3942
type: string
40-
default: "20"
43+
default: "22"
4144
experimental:
4245
required: false
4346
type: boolean

.github/workflows/compare-results.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Use Node LTS version
5353
uses: actions/setup-node@v6
5454
with:
55-
node-version: 20.19.5
55+
node-version: 22.21.0
5656
cache: yarn
5757
cache-dependency-path: yarn.lock
5858

@@ -68,7 +68,7 @@ jobs:
6868
path: |
6969
.cache/yarn
7070
node_modules
71-
key: ubuntu-latest-node20-${{ hashFiles('yarn.lock') }}
71+
key: ubuntu-latest-node22-${{ hashFiles('yarn.lock') }}
7272

7373
## --- INSTALL --- ##
7474
# note: if cache-hit isn't needed b/c yarn will leverage the cache if it exists
@@ -88,14 +88,14 @@ jobs:
8888
- name: Download build artifacts for head
8989
uses: actions/download-artifact@v5
9090
with:
91-
name: ubuntu-latest-node20-compiled-assets-${{ steps.derive-key.outputs.head-path }}
91+
name: ubuntu-latest-node22-compiled-assets-${{ steps.derive-key.outputs.head-path }}
9292
path: ${{ github.workspace }}/${{ steps.derive-key.outputs.head-path }}
9393
merge-multiple: true
9494

9595
- name: Download build artifacts for base
9696
uses: actions/download-artifact@v5
9797
with:
98-
name: ubuntu-latest-node20-compiled-assets-${{ steps.derive-key.outputs.base-path }}
98+
name: ubuntu-latest-node22-compiled-assets-${{ steps.derive-key.outputs.base-path }}
9999
path: ${{ github.workspace }}/${{ steps.derive-key.outputs.base-path }}
100100
merge-multiple: true
101101

@@ -155,7 +155,7 @@ jobs:
155155
run: |
156156
BRANCH=${{ matrix.branch }}
157157
BRANCH=${BRANCH//\//_}
158-
echo "key=ubuntu-latest-node20-compiled-assets-${BRANCH}" >> "$GITHUB_OUTPUT"
158+
echo "key=ubuntu-latest-node22-compiled-assets-${BRANCH}" >> "$GITHUB_OUTPUT"
159159
160160
- name: Check if build artifacts already exist
161161
uses: actions/download-artifact@v5
@@ -179,7 +179,7 @@ jobs:
179179
- name: Use Node LTS version
180180
uses: actions/setup-node@v6
181181
with:
182-
node-version: 20.19.5
182+
node-version: 22.21.0
183183
cache: yarn
184184

185185
- name: Enable Corepack
@@ -194,7 +194,7 @@ jobs:
194194
path: |
195195
.cache/yarn
196196
node_modules
197-
key: ubuntu-latest-node20-${{ hashFiles('yarn.lock') }}
197+
key: ubuntu-latest-node22-${{ hashFiles('yarn.lock') }}
198198

199199
## --- INSTALL --- ##
200200
# note: if cache-hit isn't needed b/c yarn will leverage the cache if it exists

.github/workflows/development.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- macos-latest
5454
- ubuntu-latest
5555
node-version:
56-
- 20
56+
- 22
5757
# experimental:
5858
# - false
5959
# include:
@@ -153,7 +153,7 @@ jobs:
153153
- name: Use Node LTS version
154154
uses: actions/setup-node@v6
155155
with:
156-
node-version: 20.19.5
156+
node-version: 22.21.0
157157
cache: yarn
158158

159159
- name: Enable Corepack
@@ -168,7 +168,7 @@ jobs:
168168
path: |
169169
.cache/yarn
170170
node_modules
171-
key: ubuntu-latest-node20-${{ hashFiles('yarn.lock') }}
171+
key: ubuntu-latest-node22-${{ hashFiles('yarn.lock') }}
172172

173173
## --- INSTALL --- ##
174174
# If statement isn't needed here b/c yarn will leverage the cache if it exists

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- name: Use Node LTS version
6666
uses: actions/setup-node@v6
6767
with:
68-
node-version: 20.19.5
68+
node-version: 22.21.0
6969
cache: yarn
7070

7171
- name: Enable Corepack
@@ -80,7 +80,7 @@ jobs:
8080
path: |
8181
.cache/yarn
8282
node_modules
83-
key: ubuntu-latest-node20-${{ hashFiles('yarn.lock') }}
83+
key: ubuntu-latest-node22-${{ hashFiles('yarn.lock') }}
8484

8585
## --- INSTALL --- ##
8686
# If statement isn't needed here b/c yarn will leverage the cache if it exists

.github/workflows/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- macos-latest
3737
- ubuntu-latest
3838
node-version:
39-
- 20
39+
- 22
4040
uses: ./.github/workflows/build.yml
4141
with:
4242
system: ${{ matrix.system }}

.github/workflows/publish-site.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Use Node LTS version
5050
uses: actions/setup-node@v6
5151
with:
52-
node-version: 20.19.5
52+
node-version: 22.21.0
5353
cache: yarn
5454

5555
- name: Enable Corepack
@@ -71,7 +71,7 @@ jobs:
7171
path: |
7272
.cache/yarn
7373
node_modules
74-
key: ubuntu-latest-node20-${{ hashFiles('yarn.lock') }}
74+
key: ubuntu-latest-node22-${{ hashFiles('yarn.lock') }}
7575

7676
## --- INSTALL --- ##
7777
- name: Install dependencies

.github/workflows/release-snapshot.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
3232
uses: actions/setup-node@v6
3333
with:
34-
node-version: 20.19.5
34+
node-version: 22.21.0
3535
cache: yarn
3636
- name: Install Dependencies
3737
run: yarn install --frozen-lockfile

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Node.js
2020
uses: actions/setup-node@v6
2121
with:
22-
node-version: 20.19.5
22+
node-version: 22.21.0
2323
cache: yarn
2424

2525
- name: Install Dependencies

.github/workflows/vrt.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Use Node LTS version
5757
uses: actions/setup-node@v6
5858
with:
59-
node-version: 20.19.5
59+
node-version: 22.21.0
6060
cache: yarn
6161

6262
- name: Enable Corepack
@@ -71,7 +71,7 @@ jobs:
7171
path: |
7272
.cache/yarn
7373
node_modules
74-
key: ubuntu-latest-node20-${{ hashFiles('yarn.lock') }}
74+
key: ubuntu-latest-node22-${{ hashFiles('yarn.lock') }}
7575

7676
## --- INSTALL --- ##
7777
- name: Install dependencies

0 commit comments

Comments
 (0)