Skip to content

[pre-commit.ci] pre-commit autoupdate #94

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #94

Workflow file for this run

name: Lighthouse
on: push
jobs:
static-dist-dir:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
extended: true
- name: Build
run: hugo --gc --minify -b "/"
- name: Run Lighthouse against a static dist dir
uses: treosh/lighthouse-ci-action@v11
with:
# no urls needed, since it uses local folder to scan .html files
configPath: './.lighthouserc.json'