Skip to content

Commit 769d316

Browse files
authored
ci: update actions due to deprecation of Node 20 (#2145)
## Changes <!-- List the changes this PR makes. --> - ci: update actions due to deprecation of Node 20 ## Context > <div>Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: <a href="https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/" class="link-gray" rel="noreferrer noopener nofollow" data-test-selector="linkified">https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/</a></div> .
2 parents b149383 + 1bc0050 commit 769d316

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

.github/actions/deploy-to-github-pages/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ runs:
299299
# avoid test failures when HTTPS is enforced half-way through
300300
PLAYWRIGHT_EXTERNAL_HTTPS: ${{ inputs.external-https }}
301301
run: npx playwright test --project=chrome
302-
- uses: actions/upload-artifact@v4
302+
- uses: actions/upload-artifact@v7
303303
if: always() && steps.playwright.outputs.result != ''
304304
with:
305305
name: playwright-report

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
build:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v4
8+
- uses: actions/checkout@v6
99

1010
- name: configure Hugo and Pagefind version
1111
run: |
@@ -50,7 +50,7 @@ jobs:
5050
run: cd public && tar czvf ../pages.tar.gz *
5151

5252
- name: Upload build artifact
53-
uses: actions/upload-artifact@v4
53+
uses: actions/upload-artifact@v7
5454
with:
5555
name: pages
5656
path: pages.tar.gz
@@ -96,7 +96,7 @@ jobs:
9696
run: |
9797
echo "result=$PLAYWRIGHT_TEST_URL" >>$GITHUB_OUTPUT &&
9898
npx playwright test --project=chrome
99-
- uses: actions/upload-artifact@v4
99+
- uses: actions/upload-artifact@v7
100100
if: always() && steps.playwright.outputs.result != ''
101101
with:
102102
name: playwright-report

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: github-pages
2121
url: ${{ steps.deploy.outputs.url }}
2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v6
2424
- name: deploy to GitHub Pages
2525
id: deploy
2626
uses: ./.github/actions/deploy-to-github-pages

.github/workflows/playwright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
timeout-minutes: 60
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
- uses: actions/setup-node@v4
1616
with:
1717
node-version: lts/*
@@ -21,7 +21,7 @@ jobs:
2121
env:
2222
PLAYWRIGHT_TEST_URL: ${{ github.event.inputs.url }}
2323
run: npx playwright test --project=chrome
24-
- uses: actions/upload-artifact@v4
24+
- uses: actions/upload-artifact@v7
2525
if: always()
2626
with:
2727
name: playwright-report

.github/workflows/update-book.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
if: github.event.repository.fork == false || github.event_name == 'workflow_dispatch'
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
with:
2121
sparse-checkout: |
2222
external/book/sync
@@ -48,7 +48,7 @@ jobs:
4848
language: ${{ fromJson(needs.check-for-updates.outputs.matrix) }}
4949
fail-fast: false
5050
steps:
51-
- uses: actions/checkout@v4
51+
- uses: actions/checkout@v6
5252
with:
5353
sparse-checkout: |
5454
script
@@ -111,7 +111,7 @@ jobs:
111111
run: |
112112
git branch -m book-${{ matrix.language.lang }}
113113
git bundle create ${{ matrix.language.lang }}.bundle refs/remotes/origin/${{ github.ref_name }}..book-${{ matrix.language.lang }}
114-
- uses: actions/upload-artifact@v4
114+
- uses: actions/upload-artifact@v7
115115
with:
116116
name: bundle-${{ matrix.language.lang }}
117117
path: ${{ matrix.language.lang }}.bundle
@@ -131,7 +131,7 @@ jobs:
131131
url: ${{ steps.deploy.outputs.url }}
132132
runs-on: ubuntu-latest
133133
steps:
134-
- uses: actions/checkout@v4
134+
- uses: actions/checkout@v6
135135
- uses: actions/download-artifact@v4
136136
- name: apply updates
137137
id: apply

.github/workflows/update-download-data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
name: github-pages
2323
url: ${{ steps.deploy.outputs.url }}
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2626
with:
2727
sparse-checkout: |
2828
.github/actions

.github/workflows/update-git-version-and-manual-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
name: github-pages
2828
url: ${{ steps.deploy.outputs.url }}
2929
steps:
30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v6
3131
with:
3232
sparse-checkout: |
3333
.github/actions

.github/workflows/update-translated-manual-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
if: github.event.repository.fork == false || github.event_name == 'workflow_dispatch'
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
with:
2424
sparse-checkout: |
2525
external/docs/sync
@@ -46,7 +46,7 @@ jobs:
4646
name: github-pages
4747
url: ${{ steps.deploy.outputs.url }}
4848
steps:
49-
- uses: actions/checkout@v4
49+
- uses: actions/checkout@v6
5050
- name: ruby setup
5151
uses: ruby/setup-ruby@v1
5252
with:

0 commit comments

Comments
 (0)