Keep the CI sdk package name so main's preview deploy finds it

ploy previews run pr-deploy.yaml from main, which downloads
build-output-sdk,
so a renamed artifact can never be found from a pull request. Keep the
package
name and point build:sdk:production and build:sdk:development at the
CallViewModel bundle the preview is meant to carry.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Timo K.
2026-10-13 19:04:02 +02:00
co-authored by Claude Fable 5.1
parent 27dcfb8bb7
commit 28e1a9e22f
7 changed files with 17 additions and 8 deletions
@@ -23,8 +23,11 @@ pnpm build:sdk-target-based-on-call-view-model
in the repository root. (`pnpm build:sdk` builds the `sdk/` package instead.)
It will create `sdk-target-based-on-call-view-model/dist` containing the compiled js
file, `matrixrtc-sdk.js`.
CI's `sdk` package (`build:sdk:production`, `build:sdk:development`, the
`build-output-sdk` artifact and the `pr<N>-sdk` Netlify preview) is still this
bundle, not the `sdk/` package, until its consumers have moved over.
It will create `dist` containing the compiled js file, `matrixrtc-sdk.js`.
This file needs to be hosted. Locally (via `npx serve -l 81234 --cors`) or on a remote server.