fix: actually install dependencies

This commit is contained in:
Eli Bosley
2024-10-24 15:38:01 -04:00
parent 125bc29166
commit d42a426244

View File

@@ -50,11 +50,10 @@ try {
// # Create final tgz
await $`cp ./README.md ./deploy/pre-pack/`;
cd('./deploy/pre-pack');
// Install production dependencies
await $`cp -r ../../node_modules ./node_modules`;
await $`npm prune --omit=dev`;
cd('./deploy/pre-pack');
await $`npm install --omit=dev`;
await $`npm-pack-all`;
// Move unraid-api.tgz to release directory