🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(ci): run test jobs with NODE_ENV test (#14683)
Tobias Wochinger3d3fbf7eeb6e
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.ymlindex 00b59916d7..6184e5ddff 100644--- a/.github/workflows/pipeline.yml+++ b/.github/workflows/pipeline.yml@@ -213,6 +213,8 @@ jobs:# at run creation, so this job starts immediately (!cancelled() lets the# condition evaluate despite the skipped dependency).if: ${{ !cancelled() && (github.event_name != 'push' || needs.pre-job.outputs.should_skip != 'true') }}+ env:+ NODE_ENV: teststeps:- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3with:@@ -247,6 +249,8 @@ jobs:# at run creation, so this job starts immediately (!cancelled() lets the# condition evaluate despite the skipped dependency).if: ${{ !cancelled() && (github.event_name != 'push' || needs.pre-job.outputs.should_skip != 'true') }}+ env:+ NODE_ENV: teststeps:- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3with:@@ -297,6 +301,8 @@ jobs:# at run creation, so this job starts immediately (!cancelled() lets the# condition evaluate despite the skipped dependency).if: ${{ !cancelled() && (github.event_name != 'push' || needs.pre-job.outputs.should_skip != 'true') }}+ env:+ NODE_ENV: teststeps:- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3with:@@ -417,6 +423,8 @@ jobs:# condition evaluate despite the skipped dependency).if: ${{ !cancelled() && (github.event_name != 'push' || needs.pre-job.outputs.should_skip != 'true') }}name: tests-web (node${{ matrix.node-version }}, pg${{ matrix.postgres-version }}, mode${{ matrix.deploy-mode }})+ env:+ NODE_ENV: teststrategy:matrix:node-version: [24]@@ -537,7 +545,6 @@ jobs:- name: Start Langfuserun: (pnpm run start&)env:- NODE_ENV: testLANGFUSE_INIT_ORG_ID: "seed-org-id"LANGFUSE_INIT_ORG_NAME: "Seed Org"LANGFUSE_INIT_ORG_CLOUD_PLAN: "Team"@@ -578,6 +585,8 @@ jobs:# condition evaluate despite the skipped dependency).if: ${{ !cancelled() && (github.event_name != 'push' || needs.pre-job.outputs.should_skip != 'true') }}name: tests-worker (node${{ matrix.node-version }}, pg${{ matrix.postgres-version }}, mode${{ matrix.deploy-mode }})+ env:+ NODE_ENV: teststrategy:matrix:node-version: [24]@@ -673,6 +682,8 @@ jobs:- llm-connections-filterif: ${{ !cancelled() && (startsWith(github.ref, 'refs/tags/') || ((github.event_name != 'push' || needs.pre-job.outputs.should_skip != 'true') && (needs.llm-connections-filter.outputs.changed == 'true' || github.event_name == 'workflow_dispatch'))) }}name: test-worker-llm-connections (node24, pg15)+ env:+ NODE_ENV: teststeps:- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3with:@@ -753,6 +764,8 @@ jobs:# at run creation, so this job starts immediately (!cancelled() lets the# condition evaluate despite the skipped dependency).if: ${{ !cancelled() && (github.event_name != 'push' || needs.pre-job.outputs.should_skip != 'true') }}+ env:+ NODE_ENV: teststeps:- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3with:@@ -855,8 +868,6 @@ jobs:exit "$(cat /tmp/playwright-install.exit)"- name: Run e2e testsrun: pnpm --filter=web run test:e2e- env:- NODE_ENV: teste2e-server-tests:runs-on: blacksmith-4vcpu-ubuntu-2404@@ -866,6 +877,8 @@ jobs:# at run creation, so this job starts immediately (!cancelled() lets the# condition evaluate despite the skipped dependency).if: ${{ !cancelled() && (github.event_name != 'push' || needs.pre-job.outputs.should_skip != 'true') }}+ env:+ NODE_ENV: teststeps:- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3with:@@ -938,8 +951,6 @@ jobs:pnpm --filter=shared run db:seed:examples- name: Run serverrun: (pnpm run start&)- env:- NODE_ENV: test- name: Check worker healthrun: |timeout 10 bash -c 'until curl -f http://localhost:3030/api/health; do sleep 2; done'