From f06f1173a83d2cc7dda0b3ec833bbe6bb339743f Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sat, 10 Jun 2023 21:39:43 +0100 Subject: [PATCH] ci: ensure more consistent lighthouse results --- .github/workflows/e2e.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index ce507462..1bad61e8 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -42,6 +42,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - run: curl ${{ github.event.inputs.url || github.event.deployment.payload.web_url || github.event.deployment_status.target_url }} - name: Audit URLs using Lighthouse uses: treosh/lighthouse-ci-action@v10 with: @@ -49,5 +50,6 @@ jobs: uploadArtifacts: true temporaryPublicStorage: true budgetPath: ./budget.json + runs: 3 env: LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} -- knotmirror 0.0.1