diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 3437b5d..cdce632 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -26,9 +26,9 @@ runs: - name: Install dependencies run: pnpm install shell: bash - - name: Install Playwright browsers - run: pnpm playwright install --with-deps - shell: bash - - name: Install Lighthouse globally - run: npm install -g @lhci/cli - shell: bash + # - name: Install Playwright browsers + # run: pnpm playwright install --with-deps + # shell: bash + # - name: Install Lighthouse globally + # run: npm install -g @lhci/cli + # shell: bash diff --git a/.github/workflows/run-lighthouse-on-vercel-preview.yml b/.github/workflows/run-lighthouse-on-vercel-preview.yml index 669fe88..3fbc071 100644 --- a/.github/workflows/run-lighthouse-on-vercel-preview.yml +++ b/.github/workflows/run-lighthouse-on-vercel-preview.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Add comment to PR id: loading_comment_to_pr - uses: marocchino/sticky-pull-request-comment@v1 + uses: marocchino/sticky-pull-request-comment@v2 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} number: ${{ github.event.issue.number }} @@ -20,13 +20,13 @@ jobs: Running Lighthouse audit... - name: Capture Vercel preview URL id: vercel_preview_url - uses: aaron-binary/vercel-preview-url-action@v0.0.3 + uses: aaimio/vercel-preview-url-action@v2.2.0 # aaron-binary/vercel-preview-url-action@v0.0.3 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: actions/checkout@v2 - name: Audit preview URL with Lighthouse id: lighthouse_audit - uses: treosh/lighthouse-ci-action@v3 + uses: treosh/lighthouse-ci-action@v10 with: urls: | ${{ steps.vercel_preview_url.outputs.vercel_preview_url }} @@ -34,7 +34,7 @@ jobs: temporaryPublicStorage: true - name: Format lighthouse score id: format_lighthouse_score - uses: actions/github-script@v3 + uses: actions/github-script@v6 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | @@ -62,7 +62,7 @@ jobs: core.setOutput("comment", comment); - name: Add comment to PR id: comment_to_pr - uses: marocchino/sticky-pull-request-comment@v1 + uses: marocchino/sticky-pull-request-comment@v2 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} number: ${{ github.event.issue.number }}