This commit is contained in:
parent
c8865e4aca
commit
ad0e62bc30
@ -36,7 +36,8 @@ jobs:
|
||||
live-server:
|
||||
image: gitbase.de/robin/live-server
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 80:80
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@ -103,7 +104,7 @@ jobs:
|
||||
- name: Lighthouse Analysis
|
||||
run: |
|
||||
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
|
||||
- name: Notify Lighthouse
|
||||
|
Loading…
Reference in New Issue
Block a user