-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Isolated Demo Tests #234
Isolated Demo Tests #234
Conversation
|
Overview
We've noticed that demo sometimes behave differently outside the monorepo. This seems to be due to our monorepo package hoisting configuration.
This adds an automated test which will move the demos to standalone test projects for testing.
The current workspace packages are published to a locally hosted NPM registry. These packages are used when installing the demo's dependencies.
This tests if the demo's
install
script andtest:build
script. Atest:build
script has been added to some demos which specifies the test criteria for building the demo.Only some of the Demos currently have functional build tests. Other demos can be added in future PRs.
The action shows a summary of all demos which were tested. A warning is shown if the demo does not have a
test:build
script.