Skip to content

lighthouse

lighthouse #59

Workflow file for this run

name: lighthouse
on: [deployment_status]
jobs:
lighthouse:
name: lighthouse
runs-on: ubuntu-latest
if: github.event.deployment_status.state == 'success' && github.event.deployment_status.creator.login == 'deno-deploy[bot]'
env:
URL: ${{ github.event.deployment_status.environment_url }}
steps:
- name: Setup repo
uses: actions/checkout@v4
- name: Audit URLs using Lighthouse
uses: treosh/lighthouse-ci-action@v11
with:
urls: |
$URL
$URL/about
$URL/signin
temporaryPublicStorage: true
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}