feat: unlighthouse-ci command to include site URL

This commit is contained in:
Bart van der Braak 2024-02-19 01:09:57 +01:00
parent de58ea0fd5
commit 91de6a37d6
2 changed files with 6 additions and 1 deletions

View file

@ -85,7 +85,7 @@ jobs:
-F "password=${{ secrets.TEST_USER_PASSWORD }}" \
--verbose 2>&1 | awk -F'pb_auth=' '/pb_auth/{print $2;exit}' | awk -F';' '{print $1}')
unlighthouse-ci
unlighthouse-ci --site "$SCAN_URL"
- name: Upload report to Cloudflare pages
uses: cloudflare/wrangler-action@v3.4.1

View file

@ -1,5 +1,10 @@
FROM alpine:latest
RUN addgroup -S nonroot \
&& adduser -S nonroot -G nonroot
USER nonroot
ARG PB_VERSION=0.21.3
RUN apk add --no-cache \