healh check
Some checks failed
/ get-version (push) Successful in 2s
/ astro-check (push) Successful in 12s
/ deploy-unlighthouse-files (push) Has been cancelled
/ deploy-unlighthouse-site (push) Has been cancelled
/ unlighthouse (push) Has been cancelled

This commit is contained in:
Firq 2024-10-22 17:38:05 +02:00
parent aad69a3e77
commit e020bb1c18
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20

View file

@ -11,12 +11,17 @@ jobs:
website: website:
image: forgejo.neshweb.net/firq/firq-dev-website:preview image: forgejo.neshweb.net/firq/firq-dev-website:preview
ports: ports:
- 18081:8081 - 8081:8081
options: >-
--health-cmd "curl -sS http://website:8081/ || echo exit 1"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: https://code.forgejo.org/actions/checkout@v3 uses: https://code.forgejo.org/actions/checkout@v3
- name: Run unlighthouse - name: Run unlighthouse
run: unlighthouse-ci --site "http://localhost:18081/" --disable-dynamic-sampling run: unlighthouse-ci --site "http://localhost:8081/" --disable-dynamic-sampling
- name: Prepare artifacts - name: Prepare artifacts
run: cp serve.json unlighthouse-reports run: cp serve.json unlighthouse-reports
- name: Upload reports - name: Upload reports