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 ______ echo ______ frontend/spa.html ______
cat 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 - name: Start Live Server
run: | 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
ls -la #run: |
echo ${{ github.workspace }} # ls -la
pwd # echo ${{ github.workspace }}
docker run -d --name live-server-container -p 8081:8081 -v ${{ github.workspace }}:/usr/src/app gitbase.de/robin/live-server # 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 - name: Wait for Live Server
run: | run: |
@ -110,11 +106,11 @@ jobs:
- name: Test HTTP Request - name: Test HTTP Request
run: curl http://127.0.0.1:8081 run: curl http://127.0.0.1:8081
- name: stop Live Server - name: stop Live Server
run: | run: |
docker stop live-server-container docker stop live-server-container
docker rm live-server-container docker rm live-server-container
#- name: staging api testtest #- name: staging api testtest
# if: github.ref == 'refs/heads/dev' # if: github.ref == 'refs/heads/dev'
# run: | # run: |