From 535c41beafcc1090ad16fe523b284919c8ce075c Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Wed, 16 Oct 2024 17:51:26 +0200 Subject: [PATCH] chore: bump GitHub action workflows (#520) --- .github/workflows/format.yml | 8 ++++---- .github/workflows/update-resources.yml | 12 ++++++------ netlify.toml | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index f99db248..2e391756 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - name: install run: | npm ci @@ -21,6 +21,6 @@ jobs: - name: format run: npm run prettier - name: commit changes - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: 'style: prettier format all files' diff --git a/.github/workflows/update-resources.yml b/.github/workflows/update-resources.yml index 902a4aea..f3104045 100644 --- a/.github/workflows/update-resources.yml +++ b/.github/workflows/update-resources.yml @@ -10,16 +10,16 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: setup hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v3 with: extended: true - hugo-version: 0.111.3 + hugo-version: 0.134.2 - name: setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - name: install run: | npm ci @@ -27,7 +27,7 @@ jobs: - name: build run: npm run build - name: commit resources - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: 'chore: build resources' file_pattern: resources/** exampleSite/resources/** diff --git a/netlify.toml b/netlify.toml index f3d0dceb..de078a66 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ command = "cd exampleSite && hugo --gc --minify --themesDir ../.." [build.environment] - HUGO_VERSION = "0.128.0" + HUGO_VERSION = "0.134.2" HUGO_ENV = "production" HUGO_THEME = "repo" HUGO_BASEURL = "https://anatole-demo.netlify.app"