Skip to content

Merge pull request #161 from COS301-SE-2024/dev #5

Merge pull request #161 from COS301-SE-2024/dev

Merge pull request #161 from COS301-SE-2024/dev #5

name: Lighthouse CI
on:
push:
branches:
- main
jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Audit URLs using Lighthouse
uses: treosh/lighthouse-ci-action@v12
with:
urls: |
https://writeme.co.za
https://writeme.co.za/stories
budgetPath: .github/lighthouse/budget.json # test performance budgets
uploadArtifacts: true # save results as an action artifacts
temporaryPublicStorage: true # upload lighthouse report to the temporary storage