Skip to content

Merge branch 'main' into dependabot/github_actions/treosh/lighthouse-… #62

Merge branch 'main' into dependabot/github_actions/treosh/lighthouse-…

Merge branch 'main' into dependabot/github_actions/treosh/lighthouse-… #62

Workflow file for this run

name: lighthouse
on: [deployment_status]
jobs:
lighthouse:

Check failure on line 6 in .github/workflows/lighthouse.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lighthouse.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
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@v12
with:
urls: |
$URL
$URL/about
$URL/signin
temporaryPublicStorage: true
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}