Updated for Lighthouse
All checks were successful
/ get-version (push) Successful in 2s
/ astro-check (push) Successful in 12s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 11s
/ build-site (push) Successful in 1m11s
/ create-release (push) Successful in 5s
/ auto-deploy-dockge (push) Successful in 24s
/ unlighthouse (push) Successful in 37s
/ deploy-unlighthouse-files (push) Successful in 6s
/ deploy-unlighthouse-site (push) Successful in 5s
All checks were successful
/ get-version (push) Successful in 2s
/ astro-check (push) Successful in 12s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 11s
/ build-site (push) Successful in 1m11s
/ create-release (push) Successful in 5s
/ auto-deploy-dockge (push) Successful in 24s
/ unlighthouse (push) Successful in 37s
/ deploy-unlighthouse-files (push) Successful in 6s
/ deploy-unlighthouse-site (push) Successful in 5s
This commit is contained in:
parent
1f7709031c
commit
96a9c2593c
4 changed files with 26 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@firq/fgosite",
|
"name": "@firq/fgosite",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.2.0-pre.12",
|
"version": "0.2.0-pre.13",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
|
|
|
@ -17,6 +17,15 @@
|
||||||
"value" : "max-age=31536000"
|
"value" : "max-age=31536000"
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "**/*.woff2",
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"key": "Cache-Control",
|
||||||
|
"value": "no-cache"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source" : "**/*.@(jpg|jpeg|gif|png|webp|svg)",
|
"source" : "**/*.@(jpg|jpeg|gif|png|webp|svg)",
|
||||||
"headers" : [{
|
"headers" : [{
|
||||||
|
|
|
@ -10,6 +10,10 @@ import ta_collection from 'iconoir/icons/database.svg'
|
||||||
import blog from 'iconoir/icons/bookmark-book.svg'
|
import blog from 'iconoir/icons/bookmark-book.svg'
|
||||||
import about from 'iconoir/icons/mail.svg'
|
import about from 'iconoir/icons/mail.svg'
|
||||||
|
|
||||||
|
import workSans500 from '@fontsource/work-sans/files/work-sans-latin-500-normal.woff2?url';
|
||||||
|
import workSans600 from '@fontsource/work-sans/files/work-sans-latin-600-normal.woff2?url';
|
||||||
|
import workSans700 from '@fontsource/work-sans/files/work-sans-latin-700-normal.woff2?url';
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
title: string
|
title: string
|
||||||
currentpage: string
|
currentpage: string
|
||||||
|
@ -71,6 +75,9 @@ const mapped_navdata = navdata.map((item) => ({
|
||||||
<!-- Disable DarkReader, as site is already in dark mode -->
|
<!-- Disable DarkReader, as site is already in dark mode -->
|
||||||
<meta name="darkreader-lock" content="this site only has darkmode">
|
<meta name="darkreader-lock" content="this site only has darkmode">
|
||||||
<!-- Links -->
|
<!-- Links -->
|
||||||
|
<link rel="preload" as="font" type="font/woff2" href={workSans500} crossorigin="anonymous" />
|
||||||
|
<link rel="preload" as="font" type="font/woff2" href={workSans600} crossorigin="anonymous" />
|
||||||
|
<link rel="preload" as="font" type="font/woff2" href={workSans700} crossorigin="anonymous" />
|
||||||
<link rel="icon" type="image/ico" href="/favicon.ico" />
|
<link rel="icon" type="image/ico" href="/favicon.ico" />
|
||||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||||
<link href="https://mastodon.neshweb.net/@Firq" rel="me" />
|
<link href="https://mastodon.neshweb.net/@Firq" rel="me" />
|
||||||
|
|
|
@ -1,10 +1,18 @@
|
||||||
export default {
|
export default {
|
||||||
puppeteerOptions: {
|
puppeteerOptions: {
|
||||||
args: ["--no-sandbox", "--disable-setuid-sandbox"],
|
args: [
|
||||||
|
"--no-sandbox",
|
||||||
|
"--disable-setuid-sandbox"
|
||||||
|
],
|
||||||
},
|
},
|
||||||
ci: {
|
ci: {
|
||||||
budget: 50,
|
budget: 50,
|
||||||
buildStatic: true
|
buildStatic: true
|
||||||
},
|
},
|
||||||
|
scanner: {
|
||||||
|
samples: 3,
|
||||||
|
device: 'desktop',
|
||||||
|
sitemap: true,
|
||||||
|
},
|
||||||
outputPath: "unlighthouse-reports",
|
outputPath: "unlighthouse-reports",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue