Commit Graph
12 Commits
Author SHA1 Message Date
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 f049b9cb19 ci: promote each new tag again, for release.yml
CI / build (pull_request) Successful in 11s
The previous commit dropped the tag trigger along with the failing
git push --tags. That also cut the only way a v* tag reached GitHub,
where release.yml builds the dist.tar.gz the cPanel deploy uses. The
per-tag push, which pushes only the new tag by name, is back. The
blanket --tags on the branch push stays gone.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-24 11:42:16 -05:00
chrnx bcbbf7d652 ci: promote only main to GitHub, never tags
CI / build (pull_request) Successful in 13s
The site deploys by hand, so a tag on GitHub triggers nothing. Pushing
them also failed every promotion: git push --tags is refused when a tag
points at different objects on the two forges, which v26.8.1-beta.0 and
v26.8.2-beta.0 do, and the job went red even though main had arrived.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-24 11:39:47 -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