Build all & run all tests in E2E

This commit is contained in:
Andras Schmelczer 2026-09-22 08:07:43 +01:00
commit 8519f87f60

View file

@ -176,7 +176,6 @@ async function main() {
}; };
const frontend = join(root, "frontend"); const frontend = join(root, "frontend");
// Build only packages in scope and always rebuild the protocol peers.
if ( if (
!(await run( !(await run(
"build-server", "build-server",
@ -195,12 +194,6 @@ async function main() {
[ [
"run", "run",
"build", "build",
"--workspace",
"sync-client",
"--workspace",
"deterministic-tests",
"--workspace",
"test-client",
], ],
frontend, frontend,
)) ))
@ -222,6 +215,7 @@ async function main() {
["run", "test", "--workspace", "sync-client"], ["run", "test", "--workspace", "sync-client"],
frontend, frontend,
); );
await run("adapter-unit-tests", "npm", ["run", "test"], frontend);
await run("harness-self-tests", "npm", ["run", "test:harness"], frontend); await run("harness-self-tests", "npm", ["run", "test:harness"], frontend);
await run("crash-and-protocol", "npm", ["run", "test:protocol"], frontend); await run("crash-and-protocol", "npm", ["run", "test:protocol"], frontend);