mirror of https://github.com/lxndrblz/anatole.git

Andreas Deininger
16.51.2024 535c41beafcc1090ad16fe523b284919c8ce075c
chore: bump GitHub action workflows (#520)

3 files modified
22 ■■■■ changed files
.github/workflows/format.yml 8 ●●●● patch | view | raw | blame | history
.github/workflows/update-resources.yml 12 ●●●● patch | view | raw | blame | history
netlify.toml 2 ●●● patch | view | raw | blame | history
.github/workflows/format.yml
@@ -9,11 +9,11 @@
    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 @@
      - 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'
.github/workflows/update-resources.yml
@@ -10,16 +10,16 @@
    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 @@
      - 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/**
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"