Restart Server after first lighthouse run if it crashed or closed
Some checks failed
Run Tests on Code / test (push) Successful in 1m10s
Build and Release Docker Image / test (push) Failing after 3m2s
Build and Release Docker Image / build (push) Has been skipped
Build and Release Docker Image / release (push) Has been skipped

This commit is contained in:
Neshura 2024-01-03 21:25:14 +01:00
parent 1d2be60c1e
commit bdc0833e94
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 14 additions and 2 deletions

View file

@ -57,12 +57,18 @@ jobs:
- name: Build Site
run: yarn build
- name: Start Dev Server
- name: Start Server
run: yarn preview &
- name: Run Unlighthouse for Desktop
run: unlighthouse-ci --build-static --desktop --outputPath reports/desktop
- name: Refresh Server
run: |
if ! pgrep -f "node /usr/bin/yarn" ; then
yarn preview &;
fi
- name: Run Unlighthouse for Mobile
run: unlighthouse-ci --build-static --mobile --outputPath reports/mobile

View file

@ -58,12 +58,18 @@ jobs:
- name: Build Site
run: yarn build
- name: Start Dev Server
- name: Start Server
run: yarn preview &
- name: Run Unlighthouse for Desktop
run: unlighthouse-ci --build-static --desktop --outputPath reports/desktop
- name: Refresh Server
run: |
if ! pgrep -f "node /usr/bin/yarn" ; then
yarn preview &;
fi
- name: Run Unlighthouse for Mobile
run: unlighthouse-ci --build-static --mobile --outputPath reports/mobile