fix loading bar, only show if wait is long enough #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lighthouse CI | |
on: push | |
jobs: | |
lighthouse: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Sleep for 90 seconds (wait for deployment to finish) | |
run: sleep 90s | |
shell: bash | |
- uses: actions/checkout@v3 | |
- name: Audit URLs using Lighthouse | |
uses: treosh/lighthouse-ci-action@v9 | |
with: | |
urls: | | |
https://www.themyac.ca/ | |
https://www.themyac.ca/team | |
https://www.themyac.ca/events | |
https://www.themyac.ca/gallery | |
https://www.themyac.ca/past-events | |
uploadArtifacts: true # save results as an action artifacts | |
temporaryPublicStorage: true # upload lighthouse report to the temporary storage |