firq-dev-website/.forgejo/workflows/unlighthouse.yml
Firq dfd29ddc94
Some checks failed
/ unlighthouse (push) Failing after 8s
/ checking (push) Successful in 14s
testing 10
2023-12-21 01:58:08 +01:00

31 lines
870 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:
- name: Deps
run: apt-get -y update; apt-get -y install curl
- name: Test
run: curl http://firqdevwebsite/ || true
- name: Test 2
run: curl http://127.0.0.1:8081/ || true
- name: docker test
run: docker network ls
- 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/