diff --git a/.lighthouserc.json b/.github/lighthouse/main.json similarity index 100% rename from .lighthouserc.json rename to .github/lighthouse/main.json diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index 7325e4e..5cc49c9 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -4,8 +4,11 @@ jobs: static-dist-dir: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - name: Checkout + uses: actions/checkout@v1 + - name: Build + run: cd pwa && npm build - name: Run Lighthouse against a static dist dir uses: treosh/lighthouse-ci-action@v2 with: - configPath: "./lighthouserc.json" \ No newline at end of file + configPath: "./github/lighthouse/main.json" \ No newline at end of file