You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ci): run example tests against local workspace code (#2480)
* feat(ci): run example tests against local workspace code
Examples and demos now resolve superdoc packages from the local
workspace instead of npm, so breaking changes are caught before merge.
- Add pnpm overrides for superdoc, @superdoc-dev/react,
@superdoc-dev/superdoc-yjs-collaboration, and @superdoc-dev/sdk
- Add demos to pnpm workspace
- Rewrite ci-examples workflow: shared build job, pnpm workspace
install, expanded path triggers (packages/superdoc, packages/react,
etc.)
- Increase smoke test timeouts for Nuxt SPA hydration and Laravel
dual-process startup
* fix(ci): include Playwright browser cache in workspace cache
Playwright installs browsers to ~/.cache/ms-playwright/ which is
outside the workspace directory. Include it in the cache so matrix
jobs can find the chromium binary.
* fix(ci): use build-then-serve for Laravel smoke test
The concurrently approach (php artisan serve + vite dev) is unreliable
in CI. Instead, build Vite assets first then serve with PHP only via
a new `start` script. This is simpler and avoids the race condition
between the two processes.
* fix(ci): build collaboration package and trigger on layout-engine changes
Address review feedback:
- Build @superdoc-dev/superdoc-yjs-collaboration in the build job so
the collaboration/superdoc-yjs smoke test can resolve its dist/
- Add packages/layout-engine/** to path triggers since superdoc
bundles it and regressions there should run example tests
0 commit comments