This commit is contained in:
parent
5c4ef67bd7
commit
4b9b4ccf4e
@ -83,10 +83,10 @@ jobs:
|
||||
|
||||
- name: Start Live Server
|
||||
run: |
|
||||
docker run -d -p 80:80 -v ${{ github.workspace }}:/usr/src/app gitbase.de/robin/live-server
|
||||
docker run -d -p 8081:8081 -v ${{ github.workspace }}:/usr/src/app gitbase.de/robin/live-server
|
||||
- name: Test HTTP Request
|
||||
run: |
|
||||
curl http://127.0.0.1:80
|
||||
curl http://127.0.0.1:8081
|
||||
|
||||
#- name: staging api testtest
|
||||
# if: github.ref == 'refs/heads/dev'
|
||||
@ -113,7 +113,7 @@ jobs:
|
||||
- name: Lighthouse Analysis
|
||||
run: |
|
||||
yarn add lighthouse
|
||||
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"
|
||||
npx lighthouse http://127.0.0.1:8081 --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