diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index acf9de72b9ba..99681c74d665 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,8 +10,9 @@ env: ECR_PULL_THROUGH_REPOSITORY_URL: 258143015559.dkr.ecr.us-east-1.amazonaws.com/docker-hub/ on: - merge_group: pull_request: + branches: + - 'develop' types: - opened - reopened @@ -285,6 +286,17 @@ jobs: POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }} run: cd docs/docusaurus && yarn install && bash ../build_docs + docs-tests: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Run tests + env: + NODE_OPTIONS: --max_old_space_size=4096 + POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }} + run: cd docs/docusaurus && yarn install && yarn test + cloud-tests: needs: [unit-tests, static-analysis, ci-is-on-main-repo] if: github.event.pull_request.draft == false