sed and desktop

This commit is contained in:
Firq 2024-10-22 22:12:02 +02:00
parent 9922507975
commit 80c5ea2508
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
3 changed files with 4 additions and 2 deletions

View file

@ -21,6 +21,8 @@ jobs:
uses: https://code.forgejo.org/actions/checkout@v3
- name: Run unlighthouse
run: unlighthouse-ci --site "http://localhost:8081/"
- name: Replace URLs
run: find ./unlighthouse-reports -type f | xargs sed -i "s|http://localhost:8081|https://preview.firq.dev|g";
- name: Prepare artifacts
run: cp serve.json unlighthouse-reports
- name: Upload reports

View file

@ -1,7 +1,7 @@
{
"name": "@firq/fgosite",
"type": "module",
"version": "0.2.0-pre.19",
"version": "0.2.0-pre.20",
"private": true,
"scripts": {
"dev": "astro dev",

View file

@ -13,7 +13,7 @@ export default {
buildStatic: true,
},
scanner: {
device: 'mobile',
device: 'desktop',
sitemap: true,
throttle: false,
dynamicSampling: false,