From e581204290ecaf3d7cb57a5048bf6c41e6421146 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 10 May 2024 22:22:23 +0300 Subject: [PATCH] Try treosh/lighthouse-ci-action --- .github/workflows/test.yml | 44 +++++++++++--------------------------- 1 file changed, 12 insertions(+), 32 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 419a552..714f4f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,37 +1,17 @@ name: Test - on: [push, pull_request, workflow_dispatch] - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - jobs: - build: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ - ubuntu-latest, - ] - + lighthouse: + runs-on: ubuntu-latest steps: - - uses: a11ywatch/github-action@v2.1.10 + - uses: actions/checkout@v4 + - name: Audit URLs using Lighthouse + uses: treosh/lighthouse-ci-action@v11 with: - WEBSITE_URL: https://docs.python.org/dev/ -# SITE_WIDE: true -# SUBDOMAINS: true -# TLD: false -# SITEMAP: true - FAIL_ERRORS_COUNT: 15 - LIST: true -# FIX: false -# UPGRADE: false - UPLOAD: true -# COMPUTER_VISION_SUBSCRIPTION_KEY: ${{ secrets.COMPUTER_VISION_SUBSCRIPTION_KEY }} -# COMPUTER_VISION_ENDPOINT: ${{ secrets.COMPUTER_VISION_ENDPOINT }} - env: -# DEFAULT_RUNNERS: htmlcs,axe - PAGEMIND_IGNORE_WARNINGS: true - AI_DISABLED: true + urls: | + https://docs.python.org/dev/ + https://docs.python.org/dev/whatsnew/3.13.html + https://docs.python.org/dev/library/pathlib.html +# budgetPath: ./budget.json # test performance budgets + uploadArtifacts: true # save results as an action artifacts + temporaryPublicStorage: true # upload lighthouse report to the temporary storage