mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-06 06:15:13 +00:00
The shipped per-template GitHub Actions build workflow still pinned Node 20 and fell back to Hugo 0.154.5 on missing config - both incompatible with Hugo v0.161's css.TailwindCSS Node permission sandbox (Node >= 22, npm @tailwindcss/cli required). Sites upgraded via `hugoblox upgrade` (which only touches go.mod) hit this immediately. - Bump NODE_VERSION 20 -> 22 in all 9 templates' .github/workflows/build.yml - Bump fallback DEFAULT_VERSION 0.154.5 -> 0.161.0 to match the framework's new module.hugoVersion.min - Add a "Verify Tailwind CSS dependency" step that fails fast with an actionable ::error message if @tailwindcss/cli is not resolvable, replacing Hugo's cryptic "binary tailwindcss is not a Node.js script"