Skip to content

Lighthouse

Lighthouse #1

Workflow file for this run

name: Lighthouse
on:
workflow_run:
workflows: [".NET Core"]
types: [completed]
branches: [master]
jobs:
lighthouse:
# Only run when the deploy workflow succeeded
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Wait for GitHub Pages to propagate
run: sleep 60
- name: Audit URLs using Lighthouse
uses: treosh/lighthouse-ci-action@v12
with:
urls: |
https://petrsvihlik.com/
https://petrsvihlik.com/pages/
https://petrsvihlik.com/pages/about-me
https://petrsvihlik.com/pages/projects
https://petrsvihlik.com/posts/the-rise-of-jamstack
uploadArtifacts: true
temporaryPublicStorage: true