firq-dev-website/.forgejo/workflows/unlighthouse.yml
Firq 8a7abf0414
Some checks failed
/ checking (push) Successful in 12s
/ unlighthouse (push) Has been cancelled
testing 14
2023-12-21 02:09:01 +01:00

23 lines
656 B
YAML

on:
push:
tags:
- '[0-9]+\.[0-9]+\.[0-9]+unlighthouse[0-9]+'
jobs:
unlighthouse:
runs-on: dind
container: registry.gitlab.com/gitlab-ci-utils/lighthouse:latest
services:
firqdevwebsite:
image: forgejo.neshweb.net/firq/firq-dev-website:preview
steps:
- name: Install Dependencies
run: npm install @unlighthouse/cli puppeteer
- name: Run unlighthouse
run: node_modules/.bin/unlighthouse-ci --site "http://firqdevwebsite:8081"
- name: Upload reports
uses: actions/upload-artifact@v3
with:
name: unlighthouse-reports
path: unlighthouse-reports/