feat: upgrade action runtime from Node 20 to 24 (#684)

This commit is contained in:
Paul Keen
2026-05-02 23:18:58 +09:00
committed by GitHub
parent 3a287949d3
commit 83259d800c
2 changed files with 12 additions and 24 deletions
+11 -23
View File
@@ -1,38 +1,26 @@
name: Daily Test
name: Test Action
on:
schedule:
- cron: '13 13 * * *'
push:
branches: [main, feat/node24]
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
matrix:
os:
- 'ubuntu-20.04'
- 'ubuntu-latest'
- 'macos-latest'
- 'windows-latest'
hugo-version:
- 'latest'
- '0.61.0'
extended:
- true
- false
hugo-version: ['latest', '0.160.1']
extended: [true, false]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3.0.0
uses: ./
with:
hugo-version: ${{ matrix.hugo-version }}
extended: ${{ matrix.extended }}
- name: Run hugo version
run: echo "::set-output name=hugo_version::$(hugo version)"
id: hugo_version
- name: '${{ steps.hugo_version.outputs.hugo_version }}'
run: echo '${{ steps.hugo_version.outputs.hugo_version }}'
- name: Verify Hugo
run: hugo version
+1 -1
View File
@@ -11,7 +11,7 @@ inputs:
required: false
default: 'false'
runs:
using: 'node20'
using: 'node24'
main: 'lib/index.js'
branding:
icon: 'package'