firq-dev-website/.forgejo/workflows/unlighthouse.yml
Firq 84912239a2
Some checks failed
/ checking (push) Successful in 13s
/ unlighthouse (push) Failing after 7s
testing 7
2023-12-21 01:52:27 +01:00

35 lines
986 B
YAML

on:
push:
tags:
- '[0-9]+\.[0-9]+\.[0-9]+unlighthouse[0-9]+'
jobs:
unlighthouse:
runs-on: docker
services:
firqdevwebsite:
image: forgejo.neshweb.net/firq/firq-dev-website:preview
ports:
- 12000:8081
container: node:20-bookworm
steps:
- name: Deps
run: apt-get -y update; apt-get -y install curl
- name: Netstat
run: netstat -a
- name: Test
run: curl http://firq-dev-website/ || true
- name: Test 2
run: curl http://firq-dev-website:8081/ || true
- name: Test 3
run: curl http://firq-dev-website:12000/ || true
- 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/