firq-dev-website/.forgejo/workflows/unlighthouse.yml
Firq b73bda3a78
All checks were successful
/ checking (push) Successful in 14s
/ build-site (push) Successful in 2m28s
/ publish (push) Successful in 8s
/ unlighthouse (push) Successful in 1m13s
mobile fix, reworked unlighthouse
2023-12-21 11:39:45 +01:00

20 lines
556 B
YAML

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