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: we can't use the cd command apparently

Brad Barbinb9ae12a6283a
diff --git a/ci/src/migrations.ts b/ci/src/migrations.ts
index 666ed41ee9..94732df3ec 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 $`cd ../packages/database/supabase`;
+ await $`cp -r ../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 ../src/seed.ts`;
+ await $$`tsx ../../packages/database/src/seed.ts`;
const { error } = await client
.from("customer")
.update({ seeded: true })