Skip to content

Commit 247c0f4

Browse files
authored
ci(config): bump node-20 actions to node-24 majors across remaining workflows (#2213)
* ci(config): bump node-20 actions to node-24 majors across remaining workflows Follow-up to #2212. Applies the same Node-24 migration to the remaining workflows that still carried the "Node.js 20 actions are deprecated" warnings. pr.yml: checkout@v4, setup-node@v4 -> v6 setup-java@v4 -> v5 cache@v4 -> v5 release-candidate.yml: checkout@v4 -> v6 upload-artifact@v4 (6 occurrences) -> v7 softprops/action-gh-release@v1 -> v3 deploy-ci.yml: setup-java@v4 -> v5 docs-verify.yml: checkout@v4 -> v6 pnpm/action-setup@v4 -> v5 setup-node@v4 -> v6 generate-changelog.yml, version-bump.yml: checkout@v4 -> v6 publish-chocolatey.yml: checkout@v4 -> v6 upload-artifact@v4 -> v7 * ci(config): strip FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 escape hatch from pr.yml Every action in the fast-test job now targets Node 24 natively after the version bumps in this PR, so the blanket force-flag is dead weight. Removing it.
1 parent 4040c1e commit 247c0f4

7 files changed

Lines changed: 21 additions & 22 deletions

File tree

.github/workflows/deploy-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#
1212
# Prerequisites (already present in this repo's CI):
1313
# - LuCLI install recipe mirrors .github/workflows/pr.yml (cybersonic/LuCLI release).
14-
# - Java 21 via actions/setup-java@v4.
14+
# - Java 21 via actions/setup-java@v5.
1515
#
1616
# Gating model:
1717
# 1. cli-tests - runs `tools/test-cli-local.sh`, must be 365+/0/0.
@@ -74,7 +74,7 @@ jobs:
7474
- uses: actions/checkout@v5
7575

7676
- name: Set up JDK 21
77-
uses: actions/setup-java@v4
77+
uses: actions/setup-java@v5
7878
with:
7979
distribution: 'temurin'
8080
java-version: '21'

.github/workflows/docs-verify.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v6
2727

2828
- name: Set up pnpm
29-
uses: pnpm/action-setup@v4
29+
uses: pnpm/action-setup@v5
3030
with:
3131
version: 10.23.0
3232

3333
- name: Set up Node.js
34-
uses: actions/setup-node@v4
34+
uses: actions/setup-node@v6
3535
with:
3636
node-version: 22
3737
cache: pnpm

.github/workflows/generate-changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
pull-requests: write
4343
steps:
4444
- name: Checkout Repository
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@v6
4646
with:
4747
fetch-depth: 0
4848
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pr.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
BASE_SHA: ${{ github.event.pull_request.base.sha }}
1818
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121
with:
2222
fetch-depth: 0
23-
- uses: actions/setup-node@v4
23+
- uses: actions/setup-node@v6
2424
with:
2525
node-version: '20'
2626
- run: npm ci
@@ -31,15 +31,14 @@ jobs:
3131
name: "Lucee 7 + SQLite (LuCLI)"
3232
runs-on: ubuntu-latest
3333
env:
34-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
3534
LUCLI_VERSION: "0.3.3"
3635
WHEELS_CI: "true"
3736
WHEELS_BROWSER_TEST_BASE_URL: "http://localhost:60007"
3837
steps:
3938
- uses: actions/checkout@v5
4039

4140
- name: Set up JDK 21
42-
uses: actions/setup-java@v4
41+
uses: actions/setup-java@v5
4342
with:
4443
distribution: 'temurin'
4544
java-version: '21'
@@ -59,7 +58,7 @@ jobs:
5958
6059
- name: Cache Playwright
6160
id: playwright-cache
62-
uses: actions/cache@v4
61+
uses: actions/cache@v5
6362
with:
6463
path: |
6564
~/.wheels/browser/lib

.github/workflows/publish-chocolatey.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
}
2727
2828
- name: Checkout
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v6
3030

3131
- name: Download LuCLI and compute checksum
3232
shell: pwsh
@@ -70,7 +70,7 @@ jobs:
7070
choco push $nupkg.FullName --source https://push.chocolatey.org/ --api-key $env:CHOCO_API_KEY
7171
7272
- name: Upload artifact
73-
uses: actions/upload-artifact@v4
73+
uses: actions/upload-artifact@v7
7474
with:
7575
name: chocolatey-package
7676
path: tools/installer/chocolatey/lucli.*.nupkg

.github/workflows/release-candidate.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323
- name: Checkout Repository
2424
id: Checkout-Repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2626
with:
2727
fetch-depth: 1
2828

@@ -176,7 +176,7 @@ jobs:
176176
./tools/build/scripts/build-starterApp.sh "${{ env.WHEELS_VERSION }}"
177177
178178
- name: Upload Wheels Base Template Artifact
179-
uses: actions/upload-artifact@v4
179+
uses: actions/upload-artifact@v7
180180
with:
181181
name: rc-build-artifacts-base-template
182182
path: |
@@ -185,7 +185,7 @@ jobs:
185185
artifacts/wheels/${{ env.WHEELS_VERSION }}/wheels-base-template-*.sha512
186186
187187
- name: Upload Wheels Core Artifact
188-
uses: actions/upload-artifact@v4
188+
uses: actions/upload-artifact@v7
189189
with:
190190
name: rc-build-artifacts-core
191191
path: |
@@ -194,7 +194,7 @@ jobs:
194194
artifacts/wheels/${{ env.WHEELS_VERSION }}/wheels-core-*.sha512
195195
196196
- name: Upload Wheels CLI Artifact
197-
uses: actions/upload-artifact@v4
197+
uses: actions/upload-artifact@v7
198198
with:
199199
name: rc-build-artifacts-cli
200200
path: |
@@ -203,7 +203,7 @@ jobs:
203203
artifacts/wheels/${{ env.WHEELS_VERSION }}/wheels-cli-*.sha512
204204
205205
- name: Upload Wheels Starter App Artifact
206-
uses: actions/upload-artifact@v4
206+
uses: actions/upload-artifact@v7
207207
with:
208208
name: rc-build-artifacts-starter-app
209209
path: |
@@ -212,15 +212,15 @@ jobs:
212212
artifacts/wheels/${{ env.WHEELS_VERSION }}/wheels-starter-app-*.sha512
213213
214214
- name: Upload All Wheels Artifacts (Combined)
215-
uses: actions/upload-artifact@v4
215+
uses: actions/upload-artifact@v7
216216
with:
217217
name: rc-build-artifacts-all
218218
path: |
219219
artifacts/**/*
220220
221221
- name: Upload Workflow Logs
222222
if: always()
223-
uses: actions/upload-artifact@v4
223+
uses: actions/upload-artifact@v7
224224
with:
225225
name: logs-release-candidate
226226
path: |
@@ -241,7 +241,7 @@ jobs:
241241
cat release-notes.md
242242
243243
- name: Create GitHub Prerelease
244-
uses: softprops/action-gh-release@v1
244+
uses: softprops/action-gh-release@v3
245245
with:
246246
tag_name: v${{ env.WHEELS_VERSION }}
247247
name: Wheels ${{ env.WHEELS_VERSION }} (Release Candidate)

.github/workflows/version-bump.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout Repository
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v6
3131
with:
3232
fetch-depth: 0
3333
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)