Skip to content

ci: build docs on PRs, skip native and performance for prose-only changes - #225

Closed
GeneralPawz wants to merge 1 commit into
mainfrom
ci/skip-docs-only
Closed

GeneralPawz wants to merge 1 commit into
mainfrom
ci/skip-docs-only

Conversation

@GeneralPawz

Copy link
Copy Markdown
Contributor

The dompurify bump (#220) regenerated docs/package-lock.json without
markdown-it-mathjax3, an optional peer of VitePress that math rendering
needs, so every docs deploy since has failed. The PR ran the native matrix
and the performance job, neither of which touches docs, but not the docs
build, so the break reached main.

  • docs: depend on markdown-it-mathjax3 directly so a lock regeneration
    cannot drop it.
  • docs.yml: build on pull requests with the same path filter (no Pages
    upload or deploy, cancelled when superseded); Rust cache saved from
    main only.
  • native.yml, performance.yml: ignore docs/** and *.md, which no native
    build or measured benchmark reads.
    https://claude.ai/code/session_017xpPU5LtsxKhGyMfqc8vqC

…nges

The dompurify bump (#220) regenerated docs/package-lock.json without
markdown-it-mathjax3, an optional peer of VitePress that math rendering
needs, so every docs deploy since has failed. The PR ran the native matrix
and the performance job, neither of which touches docs, but not the docs
build, so the break reached main.

- docs: depend on markdown-it-mathjax3 directly so a lock regeneration
  cannot drop it.
- docs.yml: build on pull requests with the same path filter (no Pages
  upload or deploy, cancelled when superseded); Rust cache saved from
  main only.
- native.yml, performance.yml: ignore docs/** and *.md, which no native
  build or measured benchmark reads.

Claude-Session: https://claude.ai/code/session_017xpPU5LtsxKhGyMfqc8vqC
@GeneralPawz GeneralPawz closed this Oct 2, 2026
@GeneralPawz
GeneralPawz deleted the ci/skip-docs-only branch October 2, 2026 10:08
@GeneralPawz

Copy link
Copy Markdown
Contributor Author

Landed on main as 1da4f26 (fast-forward).

This branch was successfully deployed

2 active deployments
crates.io — 1da4f26c Deployed Oct 2, 2026 by GeneralPawz via Publish to crates.io #19
github-pages — 1da4f26c Deployed Oct 2, 2026 by GeneralPawz via deploy #272
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