Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
fix(ci): run catalog browser checks through website script
tt-a1i71e15d3cc8bc
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex f35363fa..2e4f1bbe 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -301,7 +301,8 @@ jobs:chrome-version: stableinstall-dependencies: true- name: Verify built website navigation and language continuity- run: node --test --test-name-pattern='real Chrome' archify/test/site-language-continuity.test.mjs website/test/community-browser.test.mjs+ run: npm run test:browser+ working-directory: websiteenv:ARCHIFY_SITE_ROOT: ${{ github.workspace }}/website/distARCHIFY_SITE_INTEGRATION: '1'diff --git a/archify/test/browser-gate.test.mjs b/archify/test/browser-gate.test.mjsindex d2febba4..e76ba7de 100644--- a/archify/test/browser-gate.test.mjs+++ b/archify/test/browser-gate.test.mjs@@ -84,3 +84,16 @@ test('CI and release use the same browser command and retain WebM decoding', ()assert.doesNotMatch(source, /run: node --test[^\n]*test\/.*browser/);}});+++test('website CI uses the maintained browser script including community security coverage', () => {+ const manifest = JSON.parse(fs.readFileSync(path.join(repoRoot, 'website/package.json'), 'utf8'));+ const source = fs.readFileSync(path.join(repoRoot, '.github/workflows/ci.yml'), 'utf8');+ const gate = source.match(/ {6}- name: Verify built website navigation and language continuity\n([\s\S]*?)(?=\n {6}- |\n {2}[\w-]+:|$)/)?.[1];+ assert.ok(gate, 'website must run its browser regression gate');+ assert.match(gate, /run: npm run test:browser\n/);+ assert.match(gate, /working-directory: website/);+ assert.match(gate, /ARCHIFY_SITE_INTEGRATION: '1'/);+ assert.match(manifest.scripts['test:browser'], /site-language-continuity\.test\.mjs/);+ assert.match(manifest.scripts['test:browser'], /community-browser\.test\.mjs/);+});diff --git a/website/README.md b/website/README.mdindex 4d0e3e0d..9d041abc 100644--- a/website/README.md+++ b/website/README.md@@ -40,7 +40,7 @@ The existing real Chrome integration suite can run against the built site, inclu```shARCHIFY_SITE_ROOT="$PWD/dist" ARCHIFY_SITE_INTEGRATION=1 \ARCHIFY_CHROME="/path/to/chrome" \-node --test --test-name-pattern='real Chrome' ../archify/test/site-language-continuity.test.mjs+npm run test:browser```CI builds/tests the website when website inputs change and on every main push. It uploads `website-dist`; the existing protected Pages deployment downloads that exact verified artifact. Build output, caches and staged assets are ignored by Git. Existing GitHub required checks and obsolete-deployment protection remain in place.diff --git a/website/package.json b/website/package.jsonindex d45e2227..b575934a 100644--- a/website/package.json+++ b/website/package.json@@ -11,7 +11,8 @@"build": "node scripts/stage-public.mjs && astro build","preview": "astro preview","check": "astro check",- "test": "node --test test/*.test.mjs"+ "test": "node --test test/*.test.mjs",+ "test:browser": "node --test --test-name-pattern=\"real Chrome\" ../archify/test/site-language-continuity.test.mjs test/community-browser.test.mjs"},"dependencies": {"@astrojs/react": "^6.0.6",