Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running multiple reports in parallel and uploading to lhci server? #145

Open
c-mco opened this issue Oct 11, 2024 · 0 comments
Open

running multiple reports in parallel and uploading to lhci server? #145

c-mco opened this issue Oct 11, 2024 · 0 comments

Comments

@c-mco
Copy link

c-mco commented Oct 11, 2024

Wondering how I go about speeding up feedback by running the reports in parallel!

I have something like:

name: Lighthouse CI
on:
  push:
    branches:
      - test/lighthouse-reports

jobs:
  lighthouse-batch-1:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Audit URLs using Lighthouse
        uses: treosh/lighthouse-ci-action@v10
        with:
          runs: 1
          configPath: './lighthouserc.js'
          urls: |
            ${{ inputs.baseUrl || 'https://www.example.com/' }}
          serverBaseUrl: 'xxxx.com'
          serverToken: 'xxxx'

  lighthouse-batch-2:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Audit URLs using Lighthouse
        uses: treosh/lighthouse-ci-action@v10
        with:
          runs: 1
          configPath: './lighthouserc.js'
          urls: |
            ${{ inputs.baseUrl || 'https://www.example.com/' }}/about-me
          serverBaseUrl: 'xxxx.com'
          serverToken: 'xxxx'

but given it's the same buildID only one set of results are available on the server!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant