using custom docker
Some checks failed
/ checking (push) Successful in 13s
/ deploy-unlighthouse-site (push) Has been skipped
/ unlighthouse (push) Successful in 1m10s
/ deploy-unlighthouse-files (push) Failing after 7s

This commit is contained in:
Firq 2023-12-21 12:18:01 +01:00
parent 69643c74f2
commit 16eac7e22c
Signed by: Firq
GPG key ID: 4DE1059A4666E89F

View file

@ -7,14 +7,12 @@ on:
jobs: jobs:
unlighthouse: unlighthouse:
runs-on: docker runs-on: docker
container: registry.gitlab.com/gitlab-ci-utils/lighthouse:latest container: forgejo.neshweb.net/firq/unlighthouse-docker:latest
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: Install Dependencies
run: npm install @unlighthouse/cli puppeteer
- name: Run unlighthouse - name: Run unlighthouse
run: node_modules/.bin/unlighthouse-ci --site "https://preview.firq.dev/" run: unlighthouse-ci --site "https://preview.firq.dev/"
- name: Prepare artifacts - name: Prepare artifacts
run: cp serve.json unlighthouse-reports run: cp serve.json unlighthouse-reports
- name: Upload reports - name: Upload reports