Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(devex): run node.js ci when a product migration changes (#124754)

Julian Beza5710810b208
diff --git a/.github/workflows/ci-nodejs.yml b/.github/workflows/ci-nodejs.yml
index 0dbc93e938fc..7423a36c5af1 100644
--- a/.github/workflows/ci-nodejs.yml
+++ b/.github/workflows/ci-nodejs.yml
@@ -135,6 +135,9 @@ jobs:
- 'ee/migrations/**'
- 'posthog/management/commands/setup_test_environment.py'
- 'posthog/migrations/**'
+ # A migration change makes the test job build Postgres from the Django
+ # models, and the Jest integration tests read product tables too.
+ - 'products/*/backend/migrations/**'
- 'posthog/plugins/**'
# Django reads this to decide which filter globals it accepts, and the only
# check that it still matches the runtime type is a jest test.