Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

ci: fix path to seed script

Brad Barbin0b161924a2a9
diff --git a/ci/src/migrations.ts b/ci/src/migrations.ts
index 00ff6ab1cc..666ed41ee9 100644
--- a/ci/src/migrations.ts
+++ b/ci/src/migrations.ts
@@ -18,7 +18,7 @@ async function migrate(): Promise<void> {
console.log("✅ 🛩️ Successfully retreived customers");
console.log("👯‍♀️ Copying supabase folder");
- await $`cp -r ../packages/database/supabase .`;
+ await $`cd ../packages/database/supabase`;
for await (const customer of customers as Customer[]) {
try {
@@ -64,7 +64,7 @@ async function migrate(): Promise<void> {
if (!customer.seeded) {
try {
console.log(`✅ 🌱 Seeding ${customer.name}`);
- await $$`tsx ../../carbon/packages/database/src/seed.ts`;
+ await $$`tsx ../src/seed.ts`;
const { error } = await client
.from("customer")
.update({ seeded: true })