ci(site): add format/lint/test/build workflow for astro site

Add Site GitHub Actions workflow running prettier format check, astro
check, tests, and build on changes under site/. Wire prettier into the
site package with config, ignore, and scripts, and format existing
sources.
This commit is contained in:
Christian Visintin
2026-06-08 10:16:00 +02:00
parent f92cb93755
commit a2d766d688
19 changed files with 445 additions and 107 deletions
+10 -3
View File
@@ -2,13 +2,20 @@
import { DOCS_URL, GITHUB_URL, VERSION } from "../consts";
const year = new Date().getFullYear();
---
<footer class="mt-auto border-t border-line bg-mantle">
<div class="mx-auto flex max-w-5xl flex-col items-center gap-2 px-4 py-8 text-sm text-overlay">
<div
class="mx-auto flex max-w-5xl flex-col items-center gap-2 px-4 py-8 text-sm text-overlay"
>
<div class="flex gap-5">
<a href={GITHUB_URL} class="hover:text-text">GitHub</a>
<a href="https://crates.io/crates/termscp" class="hover:text-text">crates.io</a>
<a href="https://crates.io/crates/termscp" class="hover:text-text"
>crates.io</a
>
<a href={DOCS_URL} class="hover:text-text">User manual</a>
</div>
<p>termscp v{VERSION} · © {year} Christian Visintin · Released under the MIT license.</p>
<p>
termscp v{VERSION} · © {year} Christian Visintin · Released under the MIT license.
</p>
</div>
</footer>