mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-26 09:01:21 +00:00
feat: add cancel comment and remove continuous run
This commit is contained in:
parent
eeb5062159
commit
c060973dd2
1 changed files with 8 additions and 3 deletions
11
.github/workflows/unlighthouse-report.yaml
vendored
11
.github/workflows/unlighthouse-report.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue