lighthouse
Some checks failed
deploy to production / deploy (push) Failing after 33s

This commit is contained in:
Robin Grenzdörfer 2023-12-05 20:40:14 +00:00
parent 10c696f062
commit 722ad6538d

View File

@ -96,7 +96,8 @@ jobs:
# Lighthouse Analysis Step
- name: Lighthouse Analysis
run: |
docker run --rm -v ${{ github.workspace }}/lighthouse-reports:/lighthouse-reports femtopixel/google-lighthouse http://liveserver/ --output json --output-path /tmp/lighthouse-report.json --chrome-flags="--headless --no-sandbox --disable-dev-shm-usage"
yarn add lighthouse
lighthouse http://liveserver/ --output json --output-path /tmp/lighthouse-report.json --chrome-flags="--headless --no-sandbox --disable-dev-shm-usage"
# Notify-Lighthouse Step
- name: Notify Lighthouse
@ -106,8 +107,8 @@ jobs:
-e PLUGIN_HOST=smtp.basehosts.de \
-e PLUGIN_RECIPIENT=recipient@example.com \
-e PLUGIN_SUBJECT="Lighthouse Report" \
-v ${{ github.workspace }}/lighthouse-reports:/lighthouse-reports \
drillster/drone-email /lighthouse-reports/lighthouse-report.json
-v ${{ github.workspace }}/tmp:/lighthouse-reports \
drillster/drone-email /tmp/lighthouse-report.json
- name: build
env: