diff --git a/.github/workflows/unlighthouse-report.yaml b/.github/workflows/unlighthouse-report.yaml index b073789..7810f4c 100644 --- a/.github/workflows/unlighthouse-report.yaml +++ b/.github/workflows/unlighthouse-report.yaml @@ -43,9 +43,6 @@ jobs: - name: Build production run: pnpm run build - - - name: Preview production - run: pnpm run preview --port ${{ env.PORT }} - name: Start Preview and Get Preview URL run: | @@ -126,3 +123,11 @@ jobs: ⚡️ Lighthouse report failed See deployment for any errors + + - name: Update comment on cancel + uses: marocchino/sticky-pull-request-comment@v2.7.0 + if: ${{ cancelled() }} + with: + header: ${{ env.COMMENT_ID }} + message: | + ⚡️ Lighthouse report cancelled