This commit is contained in:
parent
c8865e4aca
commit
ad0e62bc30
@ -36,7 +36,8 @@ jobs:
|
|||||||
live-server:
|
live-server:
|
||||||
image: gitbase.de/robin/live-server
|
image: gitbase.de/robin/live-server
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 80:80
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -103,7 +104,7 @@ jobs:
|
|||||||
- name: Lighthouse Analysis
|
- name: Lighthouse Analysis
|
||||||
run: |
|
run: |
|
||||||
yarn add lighthouse
|
yarn add lighthouse
|
||||||
npx lighthouse http://liveserver/ --output json --output-path /tmp/lighthouse-report.json --chrome-flags="--headless --no-sandbox --disable-dev-shm-usage"
|
npx lighthouse http://127.0.0.1:80 --output json --output-path /tmp/lighthouse-report.json --chrome-flags="--headless --no-sandbox --disable-dev-shm-usage"
|
||||||
|
|
||||||
# Notify-Lighthouse Step
|
# Notify-Lighthouse Step
|
||||||
- name: Notify Lighthouse
|
- name: Notify Lighthouse
|
||||||
|
Loading…
Reference in New Issue
Block a user