Commit Graph
12 Commits
Author SHA1 Message Date
chrnx 8db3408ea2 ci: install the latest Node 22 instead of the runner's cached one
CI / build (pull_request) Successful in 28s
Astro 7.4.12 requires Node >=22.23.4; the Gitea runner's tool cache had 22.23.1, so astro build refused to start.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-11-17 17:11:51 -06:00
chrnx ccfb237ab9 ci: block pull requests only on critical advisories
CI / build (pull_request) Failing after 58s
Same gate as release.yml. audit.yml still files an issue for moderate and up, and the full audit report prints in CI.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-11-17 17:10:03 -06:00
chrnx f4973096ac ci: move workflow actions off the deprecated Node 20 runtime
CI / build (pull_request) Successful in 14s
actions/checkout and actions/setup-node v4 -> v5, softprops/action-gh-release
v2 -> v3; all three run on Node 24. setup-deno@v2, setup-bun@v2 and
crates-io-auth-action@v1 already resolve to Node 24 releases. Jobs keep
node-version 22.

Refs Green-Tea/core#103

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-10-17 22:55:51 -05:00
chrnx aa279c31f1 ci: move the audit off the release gate and onto a schedule
CI / build (pull_request) Failing after 9s
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
chrnx 41709bec46 fix: mark beta site releases as prereleases
CI / build (pull_request) Successful in 12s
2026-08-02 23:45:33 -05:00
chrnx 3145cbd9da ci: audit site dependencies before release
CI / build (pull_request) Successful in 11s
2026-08-02 23:31:43 -05:00
chrnx d4192a3a12 ci: validate site release tag 2026-08-02 23:28:59 -05:00
chrnx fb1e356ccc test: enforce generated SEO contracts
CI / build (pull_request) Successful in 13s
2026-08-02 18:21:38 -05:00
chrnx 7debd362f1 ci: harden release artifact handling 2026-08-02 18:03:15 -05:00
chrnx 17e7abf1c0 ci: verify the GitHub release artifact 2026-08-02 17:57:34 -05:00
chrnx 771617930e ci: bump Node to 22 (Astro 7 requires >=22.12)
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-18 13:51:08 -05:00
chrnx 750e268a9f ci: add build gate + promote + release workflows (two-forge)
ci.yml: astro build on PR/push to main. promote.yml (Gitea-only): mirror main + tags to Expressive-Tea/green-tea-site. release.yml (GitHub-only): on a v* tag, build and attach dist as a .tar.gz to the GitHub release for the cPanel deploy.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-07-18 13:47:50 -05:00