Skip to content

refactor: migrate support documentation to Starlight and remove legac… #31

refactor: migrate support documentation to Starlight and remove legac…

refactor: migrate support documentation to Starlight and remove legac… #31

Triggered via push April 11, 2026 03:27
Status Failure
Total duration 21s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
validate
Process completed with exit code 1.
tests/support/kb.test.ts: tests/support/kb.test.ts#L2
Error: Cannot find module '../../src/support/kb' imported from '/home/runner/work/Findit-AI.github.io/Findit-AI.github.io/tests/support/kb.test.ts' ❯ tests/support/kb.test.ts:2:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
tests/support/article-content.test.ts: tests/support/article-content.test.ts#L2
Error: Cannot find module '../../src/support/article-content' imported from '/home/runner/work/Findit-AI.github.io/Findit-AI.github.io/tests/support/article-content.test.ts' ❯ tests/support/article-content.test.ts:2:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
tests/site/tailwind-refresh.test.ts > tailwind product refresh > upgrades the global shell to a product-style Tailwind layout: tests/site/tailwind-refresh.test.ts#L24
AssertionError: expected '---\nimport \'../styles/global.css\';…' to match /backdrop-blur-xl/ - Expected: /backdrop-blur-xl/ + Received: "--- import '../styles/global.css'; import Analytics from '@vercel/analytics/astro'; import instrumentSerif400 from '@fontsource/instrument-serif/files/instrument-serif-latin-400-normal.woff2?url'; import spaceGrotesk400 from '@fontsource/space-grotesk/files/space-grotesk-latin-400-normal.woff2?url'; import spaceGrotesk700 from '@fontsource/space-grotesk/files/space-grotesk-latin-700-normal.woff2?url'; import { LOCALE_PREFERENCE_STORAGE_KEY } from '../i18n/browser-locale'; import { localizePath, resolveLocale, stripLocalePrefix, t, type Locale } from '../i18n/runtime'; import { buildSeoLinks } from '../i18n/seo'; import SiteHeader from '../components/SiteHeader.astro'; import SiteFooter from '../components/SiteFooter.astro'; interface Props { title?: string; description?: string; ogImage?: string; locale?: Locale; noindex?: boolean; jsonLd?: Record<string, unknown>; } const props = Astro.props as Props; const locale = props.locale ?? resolveLocale(Astro.url.pathname); const pageTitle = props.title ?? t(locale, 'meta_default_title') ?? 'FinDIT'; const pageDescription = props.description ?? t(locale, 'meta_default_description') ?? 'FinDIT Studio delivers a fast, elegant operating layer for teams that execute with precision.'; const site = Astro.site?.toString() ?? 'https://findit.studio'; const seoLinks = buildSeoLinks(site, Astro.url.pathname, locale); const ogImagePath = props.ogImage ?? '/og-default.svg'; const ogImageUrl = new URL(ogImagePath, site).toString(); const basePathRaw = stripLocalePrefix(Astro.url.pathname); const basePath = basePathRaw !== '/' && basePathRaw.endsWith('/') ? basePathRaw.slice(0, -1) : basePathRaw; const currentYear = new Date().getFullYear(); function isActive(path: string): boolean { if (path === '/') return basePath === '/'; return basePath === path || basePath.startsWith(`${path}/`); } --- <html lang={locale === 'zh' ? 'zh-CN' : locale} data-locale-storage-key={LOCALE_PREFERENCE_STORAGE_KEY}> <head> <meta charset=\"utf-8\" /> <meta name=\"viewport\" content=\"width=device-width\" /> <meta name=\"generator\" content={Astro.generator} /> <title>{pageTitle}</title> <meta name=\"description\" content={pageDescription} /> <link rel=\"canonical\" href={seoLinks.canonical} /> <link rel=\"alternate\" hreflang=\"en\" href={seoLinks.alternates.en} /> <link rel=\"alternate\" hreflang=\"zh-CN\" href={seoLinks.alternates.zh} /> <link rel=\"alternate\" hreflang=\"x-default\" href={seoLinks.alternates.en} /> <meta property=\"og:type\" content=\"website\" /> <meta property=\"og:site_name\" content=\"FinDIT\" /> <meta property=\"og:title\" content={pageTitle} /> <meta property=\"og:description\" content={pageDescription} /> <meta property=\"og:url\" content={seoLinks.canonical} /> <meta property=\"og:image\" content={ogImageUrl} /> <meta property=\"og:locale\" content={locale === 'zh' ? 'zh_CN' : 'en_US'} /> <meta name=\"twitter:card\" content=\"summary_large_image\" /> <meta name=\"twitter:title\" content={pageTitle} /> <meta name=\"twitter:description\" content={pageDescription} /> <meta name=\"twitter:image\" content={ogImageUrl} /> {props.noindex ? <meta name=\"robots\" content=\"noindex, nofollow\" /> : null} <link rel=\"icon\" type=\"image/png\" href=\"/favicon/favicon-96x96.png\" sizes=\"96x96\" /> <link rel=\"icon\" type=\"image/svg+xml\" href=\"/favicon/favicon.svg\" /> <link rel=\"shortcut icon\" href=\"/favicon/favicon.ico\" /> <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/favicon/apple-touch-icon.png\" /> <meta name=\"apple-mobile-web-app-title\" content=\"FinDIT\" /> <link rel=\"manifest\" href=\"/favicon/site.webmanifest\" /> <link rel=\"preload\" href={spaceGrotesk400} as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" /> <link rel=\"preload\" href={spaceGrotesk700} as=\"font\" typ
tests/site/language-switch-preference.test.ts > language switch preference persistence > stores the explicit locale selection before navigating: tests/site/language-switch-preference.test.ts#L12
AssertionError: expected '---\nimport \'../styles/global.css\';…' to contain 'data-locale-preference' - Expected + Received - data-locale-preference + --- + import '../styles/global.css'; + import Analytics from '@vercel/analytics/astro'; + import instrumentSerif400 from '@fontsource/instrument-serif/files/instrument-serif-latin-400-normal.woff2?url'; + import spaceGrotesk400 from '@fontsource/space-grotesk/files/space-grotesk-latin-400-normal.woff2?url'; + import spaceGrotesk700 from '@fontsource/space-grotesk/files/space-grotesk-latin-700-normal.woff2?url'; + import { LOCALE_PREFERENCE_STORAGE_KEY } from '../i18n/browser-locale'; + import { localizePath, resolveLocale, stripLocalePrefix, t, type Locale } from '../i18n/runtime'; + import { buildSeoLinks } from '../i18n/seo'; + import SiteHeader from '../components/SiteHeader.astro'; + import SiteFooter from '../components/SiteFooter.astro'; + + interface Props { + title?: string; + description?: string; + ogImage?: string; + locale?: Locale; + noindex?: boolean; + jsonLd?: Record<string, unknown>; + } + + const props = Astro.props as Props; + const locale = props.locale ?? resolveLocale(Astro.url.pathname); + const pageTitle = props.title ?? t(locale, 'meta_default_title') ?? 'FinDIT'; + const pageDescription = + props.description ?? + t(locale, 'meta_default_description') ?? + 'FinDIT Studio delivers a fast, elegant operating layer for teams that execute with precision.'; + + const site = Astro.site?.toString() ?? 'https://findit.studio'; + const seoLinks = buildSeoLinks(site, Astro.url.pathname, locale); + const ogImagePath = props.ogImage ?? '/og-default.svg'; + const ogImageUrl = new URL(ogImagePath, site).toString(); + + const basePathRaw = stripLocalePrefix(Astro.url.pathname); + const basePath = basePathRaw !== '/' && basePathRaw.endsWith('/') ? basePathRaw.slice(0, -1) : basePathRaw; + + const currentYear = new Date().getFullYear(); + + function isActive(path: string): boolean { + if (path === '/') return basePath === '/'; + return basePath === path || basePath.startsWith(`${path}/`); + } + --- + + <html lang={locale === 'zh' ? 'zh-CN' : locale} data-locale-storage-key={LOCALE_PREFERENCE_STORAGE_KEY}> + <head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width" /> + <meta name="generator" content={Astro.generator} /> + + <title>{pageTitle}</title> + <meta name="description" content={pageDescription} /> + + <link rel="canonical" href={seoLinks.canonical} /> + <link rel="alternate" hreflang="en" href={seoLinks.alternates.en} /> + <link rel="alternate" hreflang="zh-CN" href={seoLinks.alternates.zh} /> + <link rel="alternate" hreflang="x-default" href={seoLinks.alternates.en} /> + + <meta property="og:type" content="website" /> + <meta property="og:site_name" content="FinDIT" /> + <meta property="og:title" content={pageTitle} /> + <meta property="og:description" content={pageDescription} /> + <meta property="og:url" content={seoLinks.canonical} /> + <meta property="og:image" content={ogImageUrl} /> + <meta property="og:locale" content={locale === 'zh' ? 'zh_CN' : 'en_US'} /> + + <meta name="twitter:card" content="summary_large_image" /> + <meta name="twitter:title" content={pageTitle} /> + <meta name="twitter:description" content={pageDescription} /> + <meta name="twitter:image" content={ogImageUrl} /> + + {props.noindex ? <meta name="robots" content="noindex, nofollow" /> : null} + + <link rel="icon" type="image/png" href="/favicon/favicon-96x96.png" sizes="96x96" /> + <link rel="icon" type="image/svg+xml" href="/favicon/favicon.svg" /> + <link rel="shortcut icon" href="/favicon/favicon.ico" /> + <link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png" /> + <meta name="apple-mobile-web-app-title" content="FinDIT" /> + <link rel="manifest" href="/favicon/site.webmanifest" /> + + <link rel="preload" href={spaceGrotesk400} as="font" type="font/woff2" crossorigin="anonymous" /> +
tests/site/header-brand-logo.test.ts > header brand logo > renders the white logo image in the top navigation brand area: tests/site/header-brand-logo.test.ts#L10
AssertionError: expected '---\nimport \'../styles/global.css\';…' to match /class=\"brand-logo\"/ - Expected: /class=\"brand-logo\"/ + Received: "--- import '../styles/global.css'; import Analytics from '@vercel/analytics/astro'; import instrumentSerif400 from '@fontsource/instrument-serif/files/instrument-serif-latin-400-normal.woff2?url'; import spaceGrotesk400 from '@fontsource/space-grotesk/files/space-grotesk-latin-400-normal.woff2?url'; import spaceGrotesk700 from '@fontsource/space-grotesk/files/space-grotesk-latin-700-normal.woff2?url'; import { LOCALE_PREFERENCE_STORAGE_KEY } from '../i18n/browser-locale'; import { localizePath, resolveLocale, stripLocalePrefix, t, type Locale } from '../i18n/runtime'; import { buildSeoLinks } from '../i18n/seo'; import SiteHeader from '../components/SiteHeader.astro'; import SiteFooter from '../components/SiteFooter.astro'; interface Props { title?: string; description?: string; ogImage?: string; locale?: Locale; noindex?: boolean; jsonLd?: Record<string, unknown>; } const props = Astro.props as Props; const locale = props.locale ?? resolveLocale(Astro.url.pathname); const pageTitle = props.title ?? t(locale, 'meta_default_title') ?? 'FinDIT'; const pageDescription = props.description ?? t(locale, 'meta_default_description') ?? 'FinDIT Studio delivers a fast, elegant operating layer for teams that execute with precision.'; const site = Astro.site?.toString() ?? 'https://findit.studio'; const seoLinks = buildSeoLinks(site, Astro.url.pathname, locale); const ogImagePath = props.ogImage ?? '/og-default.svg'; const ogImageUrl = new URL(ogImagePath, site).toString(); const basePathRaw = stripLocalePrefix(Astro.url.pathname); const basePath = basePathRaw !== '/' && basePathRaw.endsWith('/') ? basePathRaw.slice(0, -1) : basePathRaw; const currentYear = new Date().getFullYear(); function isActive(path: string): boolean { if (path === '/') return basePath === '/'; return basePath === path || basePath.startsWith(`${path}/`); } --- <html lang={locale === 'zh' ? 'zh-CN' : locale} data-locale-storage-key={LOCALE_PREFERENCE_STORAGE_KEY}> <head> <meta charset=\"utf-8\" /> <meta name=\"viewport\" content=\"width=device-width\" /> <meta name=\"generator\" content={Astro.generator} /> <title>{pageTitle}</title> <meta name=\"description\" content={pageDescription} /> <link rel=\"canonical\" href={seoLinks.canonical} /> <link rel=\"alternate\" hreflang=\"en\" href={seoLinks.alternates.en} /> <link rel=\"alternate\" hreflang=\"zh-CN\" href={seoLinks.alternates.zh} /> <link rel=\"alternate\" hreflang=\"x-default\" href={seoLinks.alternates.en} /> <meta property=\"og:type\" content=\"website\" /> <meta property=\"og:site_name\" content=\"FinDIT\" /> <meta property=\"og:title\" content={pageTitle} /> <meta property=\"og:description\" content={pageDescription} /> <meta property=\"og:url\" content={seoLinks.canonical} /> <meta property=\"og:image\" content={ogImageUrl} /> <meta property=\"og:locale\" content={locale === 'zh' ? 'zh_CN' : 'en_US'} /> <meta name=\"twitter:card\" content=\"summary_large_image\" /> <meta name=\"twitter:title\" content={pageTitle} /> <meta name=\"twitter:description\" content={pageDescription} /> <meta name=\"twitter:image\" content={ogImageUrl} /> {props.noindex ? <meta name=\"robots\" content=\"noindex, nofollow\" /> : null} <link rel=\"icon\" type=\"image/png\" href=\"/favicon/favicon-96x96.png\" sizes=\"96x96\" /> <link rel=\"icon\" type=\"image/svg+xml\" href=\"/favicon/favicon.svg\" /> <link rel=\"shortcut icon\" href=\"/favicon/favicon.ico\" /> <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/favicon/apple-touch-icon.png\" /> <meta name=\"apple-mobile-web-app-title\" content=\"FinDIT\" /> <link rel=\"manifest\" href=\"/favicon/site.webmanifest\" /> <link rel=\"preload\" href={spaceGrotesk400} as=\"font\" type=\"font/woff2\" crossorigin=\"anonymous\" /> <link rel=\"preload\" href={spaceGrotesk700} as=\"fo
validate
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/