Skip to content

Commit 1fbbf72

Browse files
authored
build: fix release job (#252)
1 parent 8a92e31 commit 1fbbf72

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/prepareStandalonePrebuiltBinaryModules.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ for (const packageName of await fs.readdir(subPackagesDirectory)) {
1515
if ((await fs.stat(packagePath)).isFile())
1616
continue;
1717

18+
$.verbose = true;
19+
cd(packagePath);
20+
await $`npm ci -f`;
21+
await $`npm run build`;
22+
1823
const packageJson = await fs.readJson(packagePackageJsonPath);
1924
delete packageJson.devDependencies;
2025
const postinstall = packageJson.scripts?.postinstall;
@@ -24,9 +29,4 @@ for (const packageName of await fs.readdir(subPackagesDirectory)) {
2429
packageJson.scripts = {postinstall};
2530

2631
await fs.writeJson(packagePackageJsonPath, packageJson, {spaces: 2});
27-
28-
$.verbose = true;
29-
cd(packagePath);
30-
await $`npm ci -f`;
31-
await $`npm build`;
3232
}

0 commit comments

Comments
 (0)