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

This commit is contained in:
Robin Grenzdörfer 2023-12-06 07:26:36 +00:00
parent 562594c355
commit e40422c131

View File

@ -81,17 +81,13 @@ jobs:
echo ______ frontend/spa.html ______
cat frontend/spa.html
- name: stop Live Server
run: |
docker stop live-server-container
docker rm live-server-container
- name: Start Live Server
run: |
ls -la
echo ${{ github.workspace }}
pwd
docker run -d --name live-server-container -p 8081:8081 -v ${{ github.workspace }}:/usr/src/app gitbase.de/robin/live-server
run: yarn run -- live-server --no-browser --port=80 --ignore='*' --entry-file=spa.html --no-css-inject --proxy=/api:http://tibi-server:8080/api/v1/_/einfo_test frontend
#run: |
# ls -la
# echo ${{ github.workspace }}
# pwd
# docker run -d --name live-server-container -p 8081:8081 -v ${{ github.workspace }}:/usr/src/app gitbase.de/robin/live-server
- name: Wait for Live Server
run: |
@ -110,11 +106,11 @@ jobs:
- name: Test HTTP Request
run: curl http://127.0.0.1:8081
- name: stop Live Server
run: |
docker stop live-server-container
docker rm live-server-container
docker rm live-server-container
#- name: staging api testtest
# if: github.ref == 'refs/heads/dev'
# run: |