From ad0e62bc3028e4c4318153fe0e97a77a19444eb6 Mon Sep 17 00:00:00 2001 From: robin Date: Tue, 5 Dec 2023 20:57:30 +0000 Subject: [PATCH] lighthouse --- .gitea/workflows/deploy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index acbda27..8516edc 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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