Skip to content

ci: verify images display correctly in website build output - #74

Merged
atherdon merged 8 commits into
mainfrom
ci/check-build-images-fork
Nov 7, 2026
Merged

atherdon merged 8 commits into
mainfrom
ci/check-build-images-fork

Conversation

@atherdon

@atherdon atherdon commented Nov 4, 2026

Copy link
Copy Markdown

Summary

Mirror of atherdon#98 — post-build image verifier for this fork.

Same files:

  • .github/workflows/check-build-images.yml (PR + push + workflow_dispatch; no lfs: true)
  • scripts/check-build-images.mjs + scripts/build-image-allowlist.txt
  • npm run check:build-images

Branch includes sync commit from #73 so build matches upstream atherdon#97 media fixes. Prefer merging #73 first, or merge this (includes sync + checker).

Does not enable or configure Pages on the fork.

Locale

  • N/A (CI)

Test plan

Co-authored-by: petroved arthur.tkachenko.netweight@gmail.com

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

Thanks for the contribution! 🙌 If you find this list useful, could you give the repository a ⭐ star? It really helps us keep it growing.

@atherdon
atherdon marked this pull request as ready for review November 4, 2026 08:42
@atherdon
atherdon force-pushed the ci/check-build-images-fork branch from 7e666fe to 56ba9dc Compare November 4, 2026 10:39
@atherdon

atherdon commented Nov 5, 2026

Copy link
Copy Markdown
Author

Retriggering checks after prettier fix on docs/pages-index.md.

@atherdon atherdon closed this Nov 5, 2026
@atherdon atherdon reopened this Nov 5, 2026
atherdon and others added 8 commits November 6, 2026 10:22
Add scripts/check-build-images.mjs + check-build-images workflow that builds
the site then asserts every local img/srcset/CSS url under build/ exists,
is non-empty, and has real image magic bytes (rejects Git LFS pointer text).
Document known stubs in scripts/build-image-allowlist.txt.

Note: LLazyEmail/documentation-actions has no post-build image verifier yet;
this script is a candidate to promote into DA as a shared action.

Co-authored-by: petroved <arthur.tkachenko.netweight@gmail.com>
Co-authored-by: petroved <arthur.tkachenko.netweight@gmail.com>
…ruly missing files

- Rewrite relative IMG_20260621_* <img> refs (en + uk) to useBaseUrl('/img/steel-hornets/...')
- Copy 7 photos that only existed next to the uk doc into static/img/steel-hornets/diss/
- Allowlist (with TODO) cheap-steal img1 (corrupt) + img2-13 and 4 dissasembled photos absent from the repo

Co-authored-by: petroved <arthur.tkachenko.netweight@gmail.com>
Co-authored-by: petroved <arthur.tkachenko.netweight@gmail.com>
…odeQL js/incomplete-sanitization)

Co-authored-by: petroved <arthur.tkachenko.netweight@gmail.com>
Co-authored-by: petroved <arthur.tkachenko.netweight@gmail.com>
Co-authored-by: petroved <arthur.tkachenko.netweight@gmail.com>
Unblocks Format check on the build-images CI PR.

Co-authored-by: petroved <arthur.tkachenko.netweight@gmail.com>
@atherdon
atherdon force-pushed the ci/check-build-images-fork branch from 45d6313 to f351a34 Compare November 6, 2026 10:22
@atherdon
atherdon merged commit 6564800 into main Nov 7, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant