We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee1cc5b commit 0a35394Copy full SHA for 0a35394
test.js
@@ -19,6 +19,16 @@ for (const projectName of fs.readdirSync(playgroundDir)) {
19
throw new Error(`Unit tests failed in ${projectName}`)
20
}
21
22
+ console.log(`Building ${projectName}`)
23
+ const buildResult = spawnSync('pnpm', ['build'], {
24
+ cwd: path.resolve(playgroundDir, projectName),
25
+ stdio: 'inherit',
26
+ shell: true
27
+ })
28
+ if (buildResult.status !== 0) {
29
+ throw new Error(`Build failed in ${projectName}`)
30
+ }
31
+
32
console.log(`Running e2e tests in ${projectName}`)
33
const e2eTestResult = spawnSync('pnpm', ['test:e2e:ci'], {
34
cwd: path.resolve(playgroundDir, projectName),
0 commit comments