24 lines
653 B
YAML
24 lines
653 B
YAML
|
on:
|
||
|
push:
|
||
|
tags:
|
||
|
- '[0-9]+\.[0-9]+\.[0-9]+unlighthouse[0-9]+'
|
||
|
|
||
|
jobs:
|
||
|
unlighthouse:
|
||
|
needs: [publish]
|
||
|
if: success()
|
||
|
runs-on: docker
|
||
|
container: registry.gitlab.com/gitlab-ci-utils/lighthouse:latest
|
||
|
services:
|
||
|
website:
|
||
|
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
|
||
|
- name: Upload reports
|
||
|
uses: actions/upload-artifact@v3
|
||
|
with:
|
||
|
name: unlighthouse-reports
|
||
|
path: unlighthouse-reports/
|