feat: replace project permalink field with slug field, restore missing order field, fix localization #986
Workflow file for this run
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: Audit site with Lighthouse CI | |
on: [pull_request] | |
jobs: | |
lhci-mobile: | |
name: Run mobile Lighthouse CI audits | |
if: github.repository_owner == 'inclusive-design' && github.actor != 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Wait for Netlify deploy preview | |
uses: jakepartusch/wait-for-netlify-action@v1.4 | |
id: netlify | |
with: | |
site_name: idrc | |
max_timeout: 300 | |
- name: Run Lighthouse CI audits | |
uses: treosh/lighthouse-ci-action@v10 | |
with: | |
runs: 3 | |
urls: | | |
${{ steps.netlify.outputs.url }} | |
uploadArtifacts: true | |
temporaryPublicStorage: true | |
configPath: ./.lighthouserc.js | |
lhci-desktop: | |
name: Run desktop Lighthouse CI audits | |
if: github.repository_owner == 'inclusive-design' && github.actor != 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Wait for Netlify deploy preview | |
uses: jakepartusch/wait-for-netlify-action@v1.4 | |
id: netlify | |
with: | |
site_name: idrc | |
- name: Run Lighthouse CI audits | |
uses: treosh/lighthouse-ci-action@v10 | |
with: | |
runs: 3 | |
urls: | | |
${{ steps.netlify.outputs.url }} | |
uploadArtifacts: true | |
temporaryPublicStorage: true | |
configPath: ./.lighthouserc.js | |
env: | |
EMULATE_DEVICE: desktop |