fixed unlighthouse 5

This commit is contained in:
Firq 2025-04-11 21:21:50 +02:00
parent 3da3625d16
commit 63024eb324
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
3 changed files with 10 additions and 6 deletions

10
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"version": "0.2.0-pre.85", "version": "0.2.0-pre.86",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"version": "0.2.0-pre.85", "version": "0.2.0-pre.86",
"dependencies": { "dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.6", "@astro-community/astro-embed-youtube": "^0.5.6",
"@astrojs/check": "^0.9.4", "@astrojs/check": "^0.9.4",
@ -7636,9 +7636,9 @@
} }
}, },
"node_modules/vite": { "node_modules/vite": {
"version": "6.2.5", "version": "6.2.6",
"resolved": "https://registry.npmjs.org/vite/-/vite-6.2.5.tgz", "resolved": "https://registry.npmjs.org/vite/-/vite-6.2.6.tgz",
"integrity": "sha512-j023J/hCAa4pRIUH6J9HemwYfjB5llR2Ps0CWeikOtdR8+pAURAk0DoJC5/mm9kd+UgdnIy7d6HE4EAvlYhPhA==", "integrity": "sha512-9xpjNl3kR4rVDZgPNdTL0/c6ao4km69a/2ihNQbcANz8RuCOK3hQBmLSJf3bRKVQjVMda+YvizNE8AwvogcPbw==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"esbuild": "^0.25.0", "esbuild": "^0.25.0",

View file

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

View file

@ -5,6 +5,7 @@ export default async () => {
) )
return { return {
lighthouseOptions: { lighthouseOptions: {
cache: false,
throttlingMethod: 'devtools', throttlingMethod: 'devtools',
throttling: { throttling: {
cpuSlowdownMultiplier: 4, cpuSlowdownMultiplier: 4,
@ -26,6 +27,9 @@ export default async () => {
puppeteerOptions: { puppeteerOptions: {
args: ['--no-sandbox', '--disable-setuid-sandbox'], args: ['--no-sandbox', '--disable-setuid-sandbox'],
}, },
puppeteerClusterOptions: {
maxConcurrency: 1
},
ci: { ci: {
budget: 50, budget: 50,
buildStatic: true, buildStatic: true,