Skip to content

Commit

Permalink
chore: bump GitHub action workflows (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
deining authored Oct 16, 2024
1 parent b3643ae commit 535c41b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ 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
npm run prepare
- 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'
12 changes: 6 additions & 6 deletions .github/workflows/update-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@ 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
npm run prepare
- 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/**
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 535c41b

Please sign in to comment.