firq-dev-website/.forgejo/workflows/unlighthouse.yml
Workflow config file is invalid. Please check your config file: yaml: line 14: mapping values are not allowed in this context
Firq 316e7c336b
All checks were successful
/ checking (push) Successful in 15s
testing 11
2023-12-21 02:00:25 +01:00

23 lines
666 B
YAML

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