Skip to content

Commit 7a2a0a5

Browse files
committed
ci: bump github actions to Node.js 24 compatible majors
GitHub will force Node 24 on Jun 2nd 2026 and drop Node 20 entirely on Sep 16th 2026. Upgrade every JavaScript action in the workflow to the latest major that ships Node 24: actions/checkout v4 -> v6 actions/configure-pages v5 -> v6 actions/upload-pages-artifact v3 -> v5 actions/deploy-pages v4 -> v5 Also pin the markdown-link-check job's checkout to v6 instead of @master, removing the upstream-can-rewrite-it risk noted earlier.
1 parent de116f8 commit 7a2a0a5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/hugo.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ jobs:
4040
- name: Install Dart Sass Embedded
4141
run: sudo snap install dart-sass-embedded
4242
- name: Checkout
43-
uses: actions/checkout@v4
43+
uses: actions/checkout@v6
4444
with:
4545
submodules: recursive
4646
- name: Setup Pages
4747
id: pages
48-
uses: actions/configure-pages@v5
48+
uses: actions/configure-pages@v6
4949
- name: Install Node.js dependencies
5050
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
5151
- name: Build with Hugo
@@ -58,7 +58,7 @@ jobs:
5858
--minify \
5959
--baseURL "${{ steps.pages.outputs.base_url }}/"
6060
- name: Upload artifact
61-
uses: actions/upload-pages-artifact@v3
61+
uses: actions/upload-pages-artifact@v5
6262
with:
6363
path: ./public
6464

@@ -72,11 +72,11 @@ jobs:
7272
steps:
7373
- name: Deploy to GitHub Pages
7474
id: deployment
75-
uses: actions/deploy-pages@v4
75+
uses: actions/deploy-pages@v5
7676
markdown-link-check:
7777
runs-on: ubuntu-latest
7878
steps:
79-
- uses: actions/checkout@master
79+
- uses: actions/checkout@v6
8080
- uses: gaurav-nelson/github-action-markdown-link-check@v1
8181
with:
8282
use-quiet-mode: no

0 commit comments

Comments
 (0)