Skip to content

Attempt to run lighthouse on static dir #332

Attempt to run lighthouse on static dir

Attempt to run lighthouse on static dir #332

Workflow file for this run

name: Lighthouse CI
on:
push:
branches:
- master
jobs:
lighthouse-on-live-site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Audit URLs using Lighthouse
uses: treosh/lighthouse-ci-action@v10
with:
urls: |
https://alpha.bloomlibrary.org
https://alpha.bloomlibrary.org/#!/covid19
runs: 3
budgetPath: ./.github/workflows/lighthouse-budget.json # test performance budgets
uploadArtifacts: true # save results as action artifacts
temporaryPublicStorage: true # upload lighthouse report to the temporary storage
lighthouse-on-static-directory:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Audit URLs using Lighthouse
uses: treosh/lighthouse-ci-action@v10
with:
configPath: ./.github/workflows/lighthouserc.json
runs: 3
budgetPath: ./.github/workflows/lighthouse-budget.json # test performance budgets
uploadArtifacts: true # save results as action artifacts
temporaryPublicStorage: true # upload lighthouse report to the temporary storage