Skip to content

Commit 4040c1e

Browse files
authored
ci(config): bump node-20 actions to node-24 majors in snapshot/release/web-deploy (#2212)
GitHub flagged these workflows with "Node.js 20 actions are deprecated" warnings. All listed actions have Node-24 major releases available. snapshot.yml: setup-java@v4 -> v5 cache@v4 -> v5 checkout@v4 -> v6 setup-node@v4 -> v6 pnpm/action-setup@v4 -> v5 web-deploy.yml: checkout@v4 -> v6 pnpm/action-setup@v4 -> v5 setup-node@v4 -> v6 cache@v4 -> v5 upload-artifact@v4 -> v7 release.yml (called by snapshot): checkout@v4 -> v6 upload-artifact@v4 (7 occurrences) -> v7 softprops/action-gh-release@v1 -> v3 Actions already on Node 24 majors (checkout@v5, upload-artifact@v6, download-artifact@v6) left alone to minimise churn. Other workflows (pr.yml, docs-verify.yml, release-candidate.yml, etc.) carry the same deprecation warnings but are out of scope for this change.
1 parent 5f9e1e3 commit 4040c1e

3 files changed

Lines changed: 23 additions & 23 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
steps:
2929
- name: Checkout Repository
3030
id: Checkout-Repository
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v6
3232
with:
3333
fetch-depth: 1
3434

@@ -213,7 +213,7 @@ jobs:
213213
sha512sum wheels-module-${{ env.WHEELS_VERSION }}.zip > wheels-module-${{ env.WHEELS_VERSION }}.zip.sha512 || shasum -a 512 wheels-module-${{ env.WHEELS_VERSION }}.zip > wheels-module-${{ env.WHEELS_VERSION }}.zip.sha512
214214
215215
- name: Upload Wheels Base Template Artifact
216-
uses: actions/upload-artifact@v4
216+
uses: actions/upload-artifact@v7
217217
with:
218218
name: build-artifacts-base-template
219219
path: |
@@ -223,7 +223,7 @@ jobs:
223223
artifacts/wheels/wheels-base-template-be.zip
224224
225225
- name: Upload Wheels Core Artifact
226-
uses: actions/upload-artifact@v4
226+
uses: actions/upload-artifact@v7
227227
with:
228228
name: build-artifacts-core
229229
path: |
@@ -233,7 +233,7 @@ jobs:
233233
artifacts/wheels/wheels-core-be.zip
234234
235235
- name: Upload Wheels CLI Artifact
236-
uses: actions/upload-artifact@v4
236+
uses: actions/upload-artifact@v7
237237
with:
238238
name: build-artifacts-cli
239239
path: |
@@ -243,7 +243,7 @@ jobs:
243243
artifacts/wheels/wheels-cli-be.zip
244244
245245
- name: Upload Wheels Starter App Artifact
246-
uses: actions/upload-artifact@v4
246+
uses: actions/upload-artifact@v7
247247
with:
248248
name: build-artifacts-starter-app
249249
path: |
@@ -253,7 +253,7 @@ jobs:
253253
artifacts/wheels/wheels-starter-app-be.zip
254254
255255
- name: Upload Wheels Module Artifact
256-
uses: actions/upload-artifact@v4
256+
uses: actions/upload-artifact@v7
257257
with:
258258
name: build-artifacts-module
259259
path: |
@@ -263,15 +263,15 @@ jobs:
263263
artifacts/wheels/${{ env.WHEELS_VERSION }}/wheels-module-*.sha512
264264
265265
- name: Upload All Wheels Artifacts (Combined)
266-
uses: actions/upload-artifact@v4
266+
uses: actions/upload-artifact@v7
267267
with:
268268
name: build-artifacts-all
269269
path: |
270270
artifacts/**/*
271271
272272
- name: Upload Workflow Logs
273273
if: always()
274-
uses: actions/upload-artifact@v4
274+
uses: actions/upload-artifact@v7
275275
with:
276276
name: logs-release
277277
path: |
@@ -294,7 +294,7 @@ jobs:
294294
295295
- name: Create GitHub Release
296296
if: github.ref == 'refs/heads/main'
297-
uses: softprops/action-gh-release@v1
297+
uses: softprops/action-gh-release@v3
298298
with:
299299
tag_name: v${{ env.WHEELS_VERSION }}
300300
name: Wheels ${{ env.WHEELS_VERSION }}
@@ -327,7 +327,7 @@ jobs:
327327

328328
- name: Create Snapshot Pre-Release
329329
if: github.ref != 'refs/heads/main'
330-
uses: softprops/action-gh-release@v1
330+
uses: softprops/action-gh-release@v3
331331
with:
332332
tag_name: v${{ env.WHEELS_VERSION }}
333333
name: Wheels ${{ env.WHEELS_VERSION }} (snapshot)

.github/workflows/snapshot.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/checkout@v5
3030

3131
- name: Set up JDK 21
32-
uses: actions/setup-java@v4
32+
uses: actions/setup-java@v5
3333
with:
3434
distribution: 'temurin'
3535
java-version: '21'
@@ -49,7 +49,7 @@ jobs:
4949
5050
- name: Cache Playwright
5151
id: playwright-cache
52-
uses: actions/cache@v4
52+
uses: actions/cache@v5
5353
with:
5454
path: |
5555
~/.wheels/browser/lib
@@ -231,7 +231,7 @@ jobs:
231231
cancel-in-progress: true
232232
steps:
233233
- name: Checkout
234-
uses: actions/checkout@v4
234+
uses: actions/checkout@v6
235235

236236
- name: Download API docs snapshot artifact
237237
uses: actions/download-artifact@v6
@@ -240,12 +240,12 @@ jobs:
240240
path: docs/api/
241241

242242
- name: Set up pnpm
243-
uses: pnpm/action-setup@v4
243+
uses: pnpm/action-setup@v5
244244
with:
245245
version: 10.23.0
246246

247247
- name: Set up Node.js
248-
uses: actions/setup-node@v4
248+
uses: actions/setup-node@v6
249249
with:
250250
node-version: 22
251251
cache: pnpm

.github/workflows/web-deploy.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ jobs:
3030

3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v6
3434

3535
- name: Set up pnpm
36-
uses: pnpm/action-setup@v4
36+
uses: pnpm/action-setup@v5
3737
with:
3838
version: 10.23.0
3939

4040
- name: Set up Node.js
41-
uses: actions/setup-node@v4
41+
uses: actions/setup-node@v6
4242
with:
4343
node-version: 22
4444
cache: pnpm
@@ -79,15 +79,15 @@ jobs:
7979
contents: read
8080
steps:
8181
- name: Checkout
82-
uses: actions/checkout@v4
82+
uses: actions/checkout@v6
8383

8484
- name: Set up pnpm
85-
uses: pnpm/action-setup@v4
85+
uses: pnpm/action-setup@v5
8686
with:
8787
version: 10.23.0
8888

8989
- name: Set up Node.js
90-
uses: actions/setup-node@v4
90+
uses: actions/setup-node@v6
9191
with:
9292
node-version: 22
9393
cache: pnpm
@@ -98,7 +98,7 @@ jobs:
9898
run: pnpm install --frozen-lockfile
9999

100100
- name: Cache Playwright browsers
101-
uses: actions/cache@v4
101+
uses: actions/cache@v5
102102
id: playwright-cache
103103
with:
104104
path: ~/.cache/ms-playwright
@@ -119,7 +119,7 @@ jobs:
119119

120120
- name: Upload diffs on failure
121121
if: failure()
122-
uses: actions/upload-artifact@v4
122+
uses: actions/upload-artifact@v7
123123
with:
124124
name: visual-regression-diffs
125125
path: |

0 commit comments

Comments
 (0)