From 83259d800c0f56b05d14cb0b320d8e4034770d68 Mon Sep 17 00:00:00 2001 From: Paul Keen <125715+pftg@users.noreply.github.com> Date: Sat, 2 May 2026 16:18:58 +0200 Subject: [PATCH] feat: upgrade action runtime from Node 20 to 24 (#684) --- .github/workflows/test-action.yml | 34 ++++++++++--------------------- action.yml | 2 +- 2 files changed, 12 insertions(+), 24 deletions(-) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index 7ca1b43..7fce841 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -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 diff --git a/action.yml b/action.yml index 8dcf0cb..ec49924 100644 --- a/action.yml +++ b/action.yml @@ -11,7 +11,7 @@ inputs: required: false default: 'false' runs: - using: 'node20' + using: 'node24' main: 'lib/index.js' branding: icon: 'package'