test: add registry consumer smoke coverage

This commit is contained in:
2026-03-20 10:54:12 +08:00
parent e8aea4b88a
commit 5c9eb84c63
7 changed files with 271 additions and 0 deletions
+9
View File
@@ -37,6 +37,15 @@ pnpm registry:check
The pull request workflow now runs `pnpm registry:check`, and the release version PR
workflow refreshes the registry automatically via `pnpm release:version`.
To validate the end-to-end consumer flow locally:
```bash
pnpm test:registry:consumer
```
That smoke test creates a temporary app, runs the registry installer, installs the
required dependencies, and verifies that the copied source both typechecks and builds.
## Consumer install flow
### 1. Pin the Cadence UI source