-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (26 loc) · 801 Bytes
/
lighthouse.yml
File metadata and controls
29 lines (26 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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