Skip to content

Commit e7fccec

Browse files
chore(ci): update all workflows to use Node 24 (#2774)
* chore(ci): update all workflows to use Node 24 Signed-off-by: Hope Hadfield <hhadfiel@redhat.com> * Apply suggestions from code review - remove .x from node-version Co-authored-by: Jon Koops <jonkoops@gmail.com> --------- Signed-off-by: Hope Hadfield <hhadfiel@redhat.com> Co-authored-by: Jon Koops <jonkoops@gmail.com>
1 parent afa79b2 commit e7fccec

11 files changed

Lines changed: 17 additions & 17 deletions

.github/workflows/automate_renovate_changesets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Node
2626
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2727
with:
28-
node-version: 22
28+
node-version: 24
2929
registry-url: https://registry.npmjs.org/ # Needed for auth
3030

3131
- name: Configure Git

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set up Node
3636
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
3737
with:
38-
node-version: 22
38+
node-version: 24
3939
registry-url: https://registry.npmjs.org/ # Needed for auth
4040

4141
- name: Find changed workspaces
@@ -51,7 +51,7 @@ jobs:
5151
strategy:
5252
matrix:
5353
workspace: ${{ fromJSON(needs.find-changed-workspaces.outputs.workspaces) }}
54-
node-version: [22.x]
54+
node-version: [24]
5555
fail-fast: false
5656
defaults:
5757
run:
@@ -163,7 +163,7 @@ jobs:
163163
- name: Setup node
164164
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
165165
with:
166-
node-version: 22.x
166+
node-version: 24
167167
- name: Install root dependencies
168168
run: yarn install --immutable
169169
- name: Verify lockfile duplicates

.github/workflows/deprecate-archived-plugins.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Node
1717
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1818
with:
19-
node-version: 22.x
19+
node-version: 24
2020
registry-url: 'https://registry.npmjs.org'
2121

2222
- name: Deprecate packages

.github/workflows/detect-new-workspace.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set up Node
3636
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
3737
with:
38-
node-version: 22
38+
node-version: 24
3939

4040
- name: Install dependencies
4141
run: yarn install --immutable
@@ -68,7 +68,7 @@ jobs:
6868
- name: Set up Node
6969
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
7070
with:
71-
node-version: 22
71+
node-version: 24
7272

7373
- name: Install dependencies
7474
run: yarn install --immutable

.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: Set up Node
2020
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2121
with:
22-
node-version: 22
22+
node-version: 24
2323
registry-url: https://registry.npmjs.org/ # Needed for auth
2424

2525
- name: Fetch previous commit for check

.github/workflows/release_workspace.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Set up Node
5656
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
5757
with:
58-
node-version: 22
58+
node-version: 24
5959
registry-url: https://registry.npmjs.org/ # Needed for auth
6060

6161
- name: Get yarn cache directory path
@@ -122,7 +122,7 @@ jobs:
122122
- name: Set up Node
123123
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
124124
with:
125-
node-version: 22
125+
node-version: 24
126126
registry-url: https://registry.npmjs.org/ # Needed for auth
127127

128128
- name: Install root dependencies

.github/workflows/release_workspace_version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
- name: Set up Node
8181
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
8282
with:
83-
node-version: 22
83+
node-version: 24
8484
registry-url: https://registry.npmjs.org/ # Needed for auth
8585

8686
- name: Get yarn cache directory path
@@ -151,7 +151,7 @@ jobs:
151151
- name: Set up Node
152152
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
153153
with:
154-
node-version: 22
154+
node-version: 24
155155
registry-url: https://registry.npmjs.org/ # Needed for auth
156156

157157
- name: Install root dependencies

.github/workflows/upgrade-dashboard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Set up Node
3030
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
3131
with:
32-
node-version: 22
32+
node-version: 24
3333
registry-url: https://registry.npmjs.org/
3434

3535
- name: Install dependencies

.github/workflows/validate-codeowners.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set up Node
4646
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
4747
with:
48-
node-version: 22
48+
node-version: 24
4949

5050
- name: Validate CODEOWNERS entries against team membership
5151
id: validate

.github/workflows/version-bump.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
fetch-depth: 1
4747

4848
# Beginning of yarn setup
49-
- name: use node.js 22.x
49+
- name: Set up Node
5050
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
5151
with:
52-
node-version: 22.x
52+
node-version: 24
5353
registry-url: https://registry.npmjs.org/ # Needed for auth
5454
- name: cache all node_modules
5555
id: cache-modules

0 commit comments

Comments
 (0)