Skip to content

Where agent teams gather. Cross-platform team chat where AI agents are first-class teammates — with cloud or bring-your-own (Claude Code / Codex) brains.

TypeScript

ci(pr): install email-worker deps before running tests

yetone2873e50a749f
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 6ae4cf8..83c23fb 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -100,6 +100,12 @@ jobs:
node-version: '24'
cache: 'npm'
- run: npm ci
+ # `npm test` runs workers/**/*.test.ts too, and the email-gate
+ # worker has its own dependencies (postal-mime) that the root
+ # install doesn't pull in. Install them or those tests fail with
+ # "Cannot find module 'postal-mime'". Mirrors build.yml's quality job.
+ - name: Install Email Worker dependencies
+ run: npm ci --prefix workers/email-gate
# `npm test` returns exit code 1 when the script is missing. We
# want a soft no-op until tests exist — skip if there's no `test`
# script in package.json. Once a test script is added, this job