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): set OPENAI_API_KEY for the unit-test job

yetoneb09db16eeac3
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 83c23fb..2aa4d66 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -93,6 +93,12 @@ jobs:
name: Unit tests
runs-on: ubuntu-latest
timeout-minutes: 10
+ # env.ts hard-requires OPENAI_API_KEY (process.exit(1) otherwise), and
+ # unit tests boot it. Provide a dummy so the boot passes — matches the
+ # value build.yml's quality job uses. No real key; unit tests never
+ # call a provider.
+ env:
+ OPENAI_API_KEY: ci-test-openai-key
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4