Skip to content

Commit 0ab2729

Browse files
committed
Bump GitHub Actions off deprecated Node 20 runtime
GitHub is force-running Node 20 actions on Node 24 and warns on every deploy. actions/checkout v4 -> v7 actions/setup-node v4 -> v7 actions/configure-pages v5 -> v6 actions/upload-pages-artifact v3 -> v5 actions/deploy-pages v4 -> v5 All inputs used here (path, node-version, id) are unchanged across these majors; the bumps are Node 24 runtime updates and ESM migrations. checkout v7's behavioural change blocks fork-PR checkout for pull_request_target and workflow_run, neither of which this workflow uses. checkout v5 requires runner >= v2.327.1, which ubuntu-latest satisfies. Also moves node-version from 20 (EOL) to 24. That Node runs 'npx pagefind', which declares no engine constraint and indexes fine on much newer versions. ruby/setup-ruby stays at v1 -- it is a rolling major tag, currently v1.321.0.
1 parent 30a91ec commit 0ab2729

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v7
2323

2424
- name: Set up Ruby
2525
uses: ruby/setup-ruby@v1
@@ -28,12 +28,12 @@ jobs:
2828
bundler-cache: true
2929

3030
- name: Set up Node
31-
uses: actions/setup-node@v4
31+
uses: actions/setup-node@v7
3232
with:
33-
node-version: '20'
33+
node-version: '24'
3434

3535
- name: Configure Pages
36-
uses: actions/configure-pages@v5
36+
uses: actions/configure-pages@v6
3737

3838
- name: Build site
3939
run: bundle exec jekyll build
@@ -44,7 +44,7 @@ jobs:
4444
run: npx -y pagefind@1.5.0 --site _site
4545

4646
- name: Upload artifact
47-
uses: actions/upload-pages-artifact@v3
47+
uses: actions/upload-pages-artifact@v5
4848
with:
4949
path: _site
5050

@@ -57,4 +57,4 @@ jobs:
5757
steps:
5858
- name: Deploy to GitHub Pages
5959
id: deployment
60-
uses: actions/deploy-pages@v4
60+
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)