diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index 0ea92b0..b466b3f 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -13,12 +13,8 @@ jobs: with: node-version: 16.x - name: npm install, build - run: | - npm install - npm run build + run: npm install && npm install -g @lhci/cli@0.12.x - name: run Lighthouse CI - run: | - npm install -g @lhci/cli@0.12.x - lhci autorun + run: lhci autorun env: LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}