Skip to content

live

live #1054

Workflow file for this run

name: live
on: [deployment_status]
jobs:
lighthouse:
name: lighthouse
runs-on: ubuntu-latest
timeout-minutes: 5
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:
- uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
- name: Install Lighthouse CI
run: npm install -g @lhci/[email protected]
- name: Run Lighthouse
run: lhci autorun --collect.url="$URL" --collect.url="$URL/docs/introduction" --upload.target="temporary-public-storage"
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}