Skip to content

lighthouse

lighthouse #523

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@v3
- name: Audit URLs using Lighthouse
uses: treosh/lighthouse-ci-action@v10
with:
urls: |
$URL
$URL/blog
temporaryPublicStorage: true
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}