test(ci): [CI-TYPES-01] validate installed Audio and HLS types

This commit is contained in:
Harvey Zhao committed 2026-09-15 19:59:44 +08:00
1 parent 210484c443
commit 00c131bff1
16 files changed
+1246 -12

No files matched your search

@@ -44,6 +44,14 @@ mute the main video. Destroying ArtPlayer releases the plugin's audio and subscr
retained plugin updates become inert. See [ARCHITECTURE.md](ARCHITECTURE.md) for module
ownership, compatibility decisions and regression commands.
Installed declaration regression: run
`yarn test:package --include=artplayer-plugin-audio-track` from the repository root.
This builds and installs tarballs outside the repository, then checks root,
legacy and `/runtime` calls from `test/types/audio-track.ts` in five compiler
modes, including every invalid call. See
[consumer maintenance](../../scripts/consumers/README.md); media synchronization
and browser validation remain separate.
## License
MIT © Harvey Zhao
@@ -13,6 +13,14 @@ The guides describe this refactor branch; its fixes have not yet been published.
[https://artplayer.org](https://artplayer.org/?libs=https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.5.17/hls.min.js%0A./uncompiled/artplayer-plugin-hls-control/index.js&example=hls.control)
Installed declaration regression: run
`yarn test:package --include=artplayer-plugin-hls-control` from the repository root.
The isolated tarball consumer checks root/legacy imports, extracted option types,
custom track generics, formatter arguments and invalid calls in five compiler
modes using `test/types/hls-control.ts`. See
[consumer maintenance](../../scripts/consumers/README.md); real HLS playback and
SDK combinations remain separate validation gates.
## License
MIT © Harvey Zhao