fix: build packages before release tests

This commit is contained in:
Mario Zechner
2026-07-21 14:51:22 +02:00
parent c23b58a6d8
commit d35237cfda
3 changed files with 9 additions and 4 deletions
+4 -4
View File
@@ -218,15 +218,15 @@ if (!options.skipCheck) {
run("npm", ["run", "check"], { cwd: repoRoot });
}
if (!options.skipTest) {
run("./test.sh", [], { cwd: repoRoot });
}
for (const pkg of packages) {
run("npm", ["run", "clean"], { cwd: pkg.directory });
run("npm", ["run", pkg.directory === "packages/ai" ? "build:offline" : "build"], { cwd: pkg.directory });
}
if (!options.skipTest) {
run("./test.sh", [], { cwd: repoRoot });
}
const tarballs = new Map();
for (const pkg of packages) {
const tarball = packPackage(pkg, tarballDirectory);