chrnx aa279c31f1
CI / build (pull_request) Failing after 9s
ci: move the audit off the release gate and onto a schedule
Two advisories landed in this tree in a single day — js-yaml in the morning,
nanoid a couple of hours later. Neither had anything to do with a code change.
A release gated on `npm audit` fails by calendar date, and it fails at the
exact moment there is least time to judge whether a fix is safe.

What ships from here is built HTML, CSS and JS. Astro, js-yaml and nanoid are
build-time tools that never reach a visitor; the advisories in question need
control over build inputs to matter, and an attacker with that has already won.

So the release gate drops to `critical` — a tripwire for the catastrophic case,
not a trigger for routine noise. Nothing is lowered anywhere else: ci.yml still
blocks every PR at moderate, which is where there is time and context to fix.

The new scheduled audit is what makes that safe rather than negligent. Monday
mornings on Gitea, filing an internal issue when something turns up, with a
dedup check so a weekly cron cannot open 52 copies. Learning about a
vulnerability and being unable to publish stop being the same event.

`workflow_dispatch` is included so it can be run and verified on demand.
2026-08-07 16:54:48 -05:00
2026-08-02 23:27:57 -05:00
2026-08-07 14:04:41 -05:00
2026-08-02 17:10:30 -05:00

Green Tea. — marketing site

The public marketing site for Green Tea, a zen, opinionated, type-safe graph-pipeline HTTP framework. Built with Astro — the landing page, blog, and brand shell live here. The framework's technical docs live in a separate repository and are only linked from this site, not rebuilt here.

Stack

  • Astro (static output)
  • MDX for blog content
  • @astrojs/sitemap for sitemap-index.xml
  • Plain CSS (custom properties for the brand palette), no CSS framework
  • No CMS, no client-side JS framework, no analytics

Requirements

  • Node.js >= 22.12.0

Getting started

npm install
npm run dev

The dev server runs at http://localhost:4321.

Build

npm run build

Static output is written to dist/. Preview it locally with:

npm run preview

Project structure

src/
  components/       — Header, Footer, GraphMotif, and landing sections
  content/blog/      — MDX blog posts (content collection)
  layouts/          — Base.astro (shell, SEO/OG), Post.astro (blog post layout)
  pages/            — index, blog/, 404, rss.xml
public/             — static assets (favicon, og.png, robots.txt)

Deployment (manual — Cloudflare Pages)

The site is hosted on the expressive-tea.io cPanel under the subdomain green-tea.expressive-tea.io. There is no deploy CI — you build locally and upload the static output.

  1. npm run build → static output in dist/.
  2. Upload the contents of dist/ into the subdomain's document root (e.g. public_html/green-tea/) via the cPanel File Manager or SFTP.
  3. The docs are a separate build served from /docs on the same subdomain — see the core repo's website/ (built with base: '/docs'); its dist/ contents go into public_html/green-tea/docs/. Two independent builds, one subdomain, no nested sub-subdomain.

The *.expressive-tea.io AutoSSL certificate already covers green-tea.expressive-tea.io; /docs needs no certificate of its own because it is a path, not a host.

Green Tea lives under the Expressive-Tea GitHub org — the same org as the framework it grew out of. The site already points there (https://github.com/Expressive-Tea/green-tea, in Header, Footer, Hero, and HonestBeta), but those targets are not public yet. Before launch, confirm each one actually resolves:

  • The GitHub repo is public under that org.
  • @green-tea/core is published to npm under that name.
  • https://green-tea.expressive-tea.io/docs is live and serving the docs site.

Every one of these is a visible 404 on the landing page until it's true.

License

MIT

S
Description
Green Tea — marketing site (green-tea.expressive-tea.io)
Readme
1.6 MiB
0 Stars 3 Watchers 0 Forks
Languages
Astro 46.3%
MDX 34.4%
JavaScript 13%
CSS 3.4%
PHP 2.5%
Other 0.4%