.github/workflow-templates/ci-static.yml
2026-08-24 21:05:53 +00:00

19 lines
837 B
YAML

name: CI (Static Site)
on:
pull_request:
branches: [main]
merge_group:
jobs:
ci:
# Job id MUST stay `ci`: the reusable's job is also `ci`, so the check
# context resolves to the required `ci / ci`.
uses: Sea-Haven-Industries/.github/.github/workflows/ci-static.yaml@af0f002e14a08cdbfd879c1183bfe7eb2604bce9 # v1.0.8
with:
# Pinned explicitly (handbook): local dev is Node 24 / npm 11, which
# generates lockfileVersion 3. Being explicit avoids lockfile drift.
node-version: "24"
# Defaults to source mode — the checks run against the repo root. For a
# templated site (Eleventy, Astro), add `build-command` plus `check-dir`
# so the checks validate the BUILT output that actually ships; otherwise
# they pass vacuously against source templates that contain no HTML.