mobile fix, reworked unlighthouse
This commit is contained in:
parent
1e672c1a10
commit
b73bda3a78
3 changed files with 22 additions and 29 deletions
.forgejo/workflows
|
@ -5,21 +5,13 @@ on:
|
|||
|
||||
jobs:
|
||||
unlighthouse:
|
||||
runs-on: dind
|
||||
runs-on: docker
|
||||
container: registry.gitlab.com/gitlab-ci-utils/lighthouse:latest
|
||||
services:
|
||||
firqdevwebsite:
|
||||
image: forgejo.neshweb.net/firq/firq-dev-website:preview
|
||||
options: >-
|
||||
--health-cmd "curl --fail http://localhost:8081 || exit 1"
|
||||
--health-interval 10s
|
||||
--health-timeout 5s
|
||||
--health-retries 5
|
||||
steps:
|
||||
- name: Install Dependencies
|
||||
run: npm install @unlighthouse/cli puppeteer
|
||||
- name: Run unlighthouse
|
||||
run: node_modules/.bin/unlighthouse-ci --site "http://firqdevwebsite:8081"
|
||||
run: node_modules/.bin/unlighthouse-ci --site "https://preview.firq.dev/"
|
||||
- name: Upload reports
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue