This commit is contained in:
parent
10c696f062
commit
722ad6538d
@ -96,7 +96,8 @@ jobs:
|
|||||||
# Lighthouse Analysis Step
|
# Lighthouse Analysis Step
|
||||||
- name: Lighthouse Analysis
|
- name: Lighthouse Analysis
|
||||||
run: |
|
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
|
# Notify-Lighthouse Step
|
||||||
- name: Notify Lighthouse
|
- name: Notify Lighthouse
|
||||||
@ -106,8 +107,8 @@ jobs:
|
|||||||
-e PLUGIN_HOST=smtp.basehosts.de \
|
-e PLUGIN_HOST=smtp.basehosts.de \
|
||||||
-e PLUGIN_RECIPIENT=recipient@example.com \
|
-e PLUGIN_RECIPIENT=recipient@example.com \
|
||||||
-e PLUGIN_SUBJECT="Lighthouse Report" \
|
-e PLUGIN_SUBJECT="Lighthouse Report" \
|
||||||
-v ${{ github.workspace }}/lighthouse-reports:/lighthouse-reports \
|
-v ${{ github.workspace }}/tmp:/lighthouse-reports \
|
||||||
drillster/drone-email /lighthouse-reports/lighthouse-report.json
|
drillster/drone-email /tmp/lighthouse-report.json
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user