Skip to content

ci: integrate Pages deployment into CI workflow#40

Merged
gugu23456789 merged 5 commits into
mainfrom
fix/pages-deploy-on-tag
Jul 4, 2026
Merged

ci: integrate Pages deployment into CI workflow#40
gugu23456789 merged 5 commits into
mainfrom
fix/pages-deploy-on-tag

Conversation

@gugu23456789

Copy link
Copy Markdown
Member

Summary

Integrate GitHub Pages deployment directly into the CI workflow.

Changes

  • Add deploy_pages job to ci.yml that runs after wasm + build succeed
  • Only deploys on main branch push (feature branch CI skips deployment)
  • Reuses wasm-build artifact from the wasm job (no redundant rebuild)
  • Keeps pages.yml with workflow_dispatch as a fallback manual trigger

Why

Previously Pages deployment was decoupled from CI:

  • Had to manually trigger pages.yml via workflow_dispatch
  • Occasional deploy failures due to runner permission issues
  • No clear connection between CI pass and Pages update

Now CI passes → Pages deploys automatically.

Test Plan

  • CI passes on this PR
  • After merge, main branch CI triggers Pages deployment automatically

… on tag events)\n\nTag push events trigger GITHUB_TOKEN restrictions that prevent deploy_pages from assigning a runner. Switch to workflow_dispatch only.
…Z file WASM test

- License: change all @license MIT to @license MulanPSL-2.0
- License: remove full MIT license text from report.h
- Naming: rename all TLV references to ILV (Indexed-Length-Value) in comments
- Naming: update error messages and help text from TLV to ILV
- CI/WASM: add real SPZ file testing using spz-anime-text2scene-bench dataset
- CI/WASM: test inspectSpz, dumpTrailer, listRegisteredExtensions, getCompatibilityBoard APIs
- CI/WASM: test UI rendering (no n/a in panels) for v3 and v4 SPZ files
- Fix: createUnavailableMethod returns Promise.reject instead of sync throw
- Fix: listRegisteredExtensions/getCompatibilityBoard fallbacks return Promise.resolve
…ynthetic test coverage

- Add tests/fixtures/ with classroom_anime v3+v4 real SPZ files (smallest dataset: 8.47/8.66 MB)
- Remove remote git clone of spz-anime-text2scene-bench (unreliable + path typos)
- Copy real fixtures from tests/fixtures/ to build-wasm/site/ in CI
- Test all 4 files: synthetic_v3, synthetic_v4, real_v3, real_v4
- Each file tests: inspectSpz, dumpTrailer, listRegisteredExtensions, getCompatibilityBoard
- UI upload test uses real_v4.spz (classroom_anime v4)
- Add deploy_pages job to ci.yml that runs after wasm + build succeed
- Only deploys on main branch push events
- Reuses wasm-build artifact from wasm job
- Keeps pages.yml with workflow_dispatch as fallback manual trigger
@gugu23456789
gugu23456789 merged commit 342e091 into main Jul 4, 2026
10 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.

2 participants