From 63024eb324fbfc66d4824106b8bb933ea026a0c4 Mon Sep 17 00:00:00 2001 From: Firq <firelp42@gmail.com> Date: Fri, 11 Apr 2025 21:21:50 +0200 Subject: [PATCH] fixed unlighthouse 5 --- package-lock.json | 10 +++++----- package.json | 2 +- unlighthouse.config.ts | 4 ++++ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 45f30b3..88b4f48 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@firq/fgosite", - "version": "0.2.0-pre.85", + "version": "0.2.0-pre.86", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@firq/fgosite", - "version": "0.2.0-pre.85", + "version": "0.2.0-pre.86", "dependencies": { "@astro-community/astro-embed-youtube": "^0.5.6", "@astrojs/check": "^0.9.4", @@ -7636,9 +7636,9 @@ } }, "node_modules/vite": { - "version": "6.2.5", - "resolved": "https://registry.npmjs.org/vite/-/vite-6.2.5.tgz", - "integrity": "sha512-j023J/hCAa4pRIUH6J9HemwYfjB5llR2Ps0CWeikOtdR8+pAURAk0DoJC5/mm9kd+UgdnIy7d6HE4EAvlYhPhA==", + "version": "6.2.6", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.2.6.tgz", + "integrity": "sha512-9xpjNl3kR4rVDZgPNdTL0/c6ao4km69a/2ihNQbcANz8RuCOK3hQBmLSJf3bRKVQjVMda+YvizNE8AwvogcPbw==", "license": "MIT", "dependencies": { "esbuild": "^0.25.0", diff --git a/package.json b/package.json index 2dfe004..21daa05 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@firq/fgosite", "type": "module", - "version": "0.2.0-pre.85", + "version": "0.2.0-pre.86", "private": true, "scripts": { "dev": "astro dev", diff --git a/unlighthouse.config.ts b/unlighthouse.config.ts index 9dde4b3..dbd886c 100644 --- a/unlighthouse.config.ts +++ b/unlighthouse.config.ts @@ -5,6 +5,7 @@ export default async () => { ) return { lighthouseOptions: { + cache: false, throttlingMethod: 'devtools', throttling: { cpuSlowdownMultiplier: 4, @@ -26,6 +27,9 @@ export default async () => { puppeteerOptions: { args: ['--no-sandbox', '--disable-setuid-sandbox'], }, + puppeteerClusterOptions: { + maxConcurrency: 1 + }, ci: { budget: 50, buildStatic: true,