From 9b77d59825e94a41a9a90a9d03e17b2eea74cd60 Mon Sep 17 00:00:00 2001 From: abfedena Date: Mon, 17 Jan 2022 10:12:13 +0530 Subject: [PATCH] Update lighthouse.yml --- .github/workflows/lighthouse.yml | 34 ++++++++++++-------------------- 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index 4e895b1..a0b2381 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -1,25 +1,17 @@ -name: Lighthouse Check -on: [push] - +name: Lighthouse CI +on: push jobs: - lighthouse-check: + lighthouse: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - run: mkdir /tmp/artifacts - - name: Run Lighthouse - uses: foo-software/lighthouse-check-action@master - with: - awsAccessKeyId: ${{ secrets.LIGHTHOUSE_CHECK_AWS_ACCESS_KEY_ID }} - awsBucket: ${{ secrets.LIGHTHOUSE_CHECK_AWS_BUCKET }} - awsRegion: ${{ secrets.LIGHTHOUSE_CHECK_AWS_REGION }} - awsSecretAccessKey: ${{ secrets.LIGHTHOUSE_CHECK_AWS_SECRET_ACCESS_KEY }} - gitAuthor: ${{ github.actor }} - gitBranch: ${{ github.ref }} - gitHubAccessToken: ${{ secrets.LIGHTHOUSE_CHECK_GITHUB_ACCESS_TOKEN }} - outputDirectory: /tmp/artifacts - urls: 'https://www.foo.software,https://www.foo.software/contact' - sha: ${{ github.sha }} - slackWebhookUrl: ${{ secrets.LIGHTHOUSE_CHECK_WEBHOOK_URL }} - + - uses: actions/checkout@v2 + - name: Audit URLs using Lighthouse + uses: treosh/lighthouse-ci-action@v8 + with: + urls: | + https://www.echobitzit.com/ + https://www.echobitzit.com/web/login + budgetPath: ./budget.json # test performance budgets + uploadArtifacts: true # save results as an action artifacts + temporaryPublicStorage: true # upload lighthouse report to the temporary