firq-dev-website/.forgejo/workflows/unlighthouse.yml
Firq 8462755842
Some checks failed
/ checking (push) Successful in 15s
/ unlighthouse (push) Failing after 20s
testing 3
2023-12-21 01:31:58 +01:00

33 lines
873 B
YAML

on:
push:
tags:
- '[0-9]+\.[0-9]+\.[0-9]+unlighthouse[0-9]+'
jobs:
unlighthouse:
runs-on: docker
container: node:20.10.0-bookworm-slim
services:
website:
image: forgejo.neshweb.net/firq/firq-dev-website:preview
ports:
- 12000:8081
steps:
- name: Deps
run: apt-get install curl -y
- name: Test
run: curl http://website/
- name: Test 2
run: curl http://website:8081/
- name: Test 3
run: curl http://website:12000/
- name: Install Dependencies
run: npm install @unlighthouse/cli puppeteer
- name: Run unlighthouse
run: node_modules/.bin/unlighthouse-ci --site "website"
- name: Upload reports
uses: actions/upload-artifact@v3
with:
name: unlighthouse-reports
path: unlighthouse-reports/