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: build packages before deploying trigger tasks

Brad Barbin843bf2f7f9fb
diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yml
index 9bee87ee62..e303df150b 100644
--- a/.github/workflows/trigger.yml
+++ b/.github/workflows/trigger.yml
@@ -22,6 +22,9 @@ jobs:
- name: Install dependencies
run: npm install
+ - name: Build packages
+ run: npm run build:packages
+
- name: 🚀 Deploy Trigger.dev
env:
TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }}
diff --git a/apps/carbon/app/trigger/send-email-resend.ts b/apps/carbon/app/trigger/send-email-resend.ts
index 8b02ce12b4..a753ba7455 100644
--- a/apps/carbon/app/trigger/send-email-resend.ts
+++ b/apps/carbon/app/trigger/send-email-resend.ts
@@ -40,7 +40,7 @@ export const sendEmailResendTask = task({
console.info(integrationMetadata.data?.fromEmail ?? "No email found");
if (!integrationMetadata.success || integration?.data?.active !== true) {
- return { success: false, message: "Invalid or inactive integration" };
+ return { success: false, message: "🔴 Invalid or inactive integration" };
}
const resend = new Resend(integrationMetadata.data.apiKey);