diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 142208731..94cd19923 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -187,8 +187,15 @@ jobs: needs: [run-lint, run-build] runs-on: ubuntu-latest timeout-minutes: 50 + if: > + github.event_name == 'push' || + (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) env: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} + GOOGLE_GENERATIVE_AI_API_KEY: ${{ secrets.GOOGLE_GENERATIVE_AI_API_KEY }} + BROWSERBASE_API_KEY: ${{ secrets.BROWSERBASE_API_KEY }} + BROWSERBASE_PROJECT_ID: ${{ secrets.BROWSERBASE_PROJECT_ID }} HEADLESS: true steps: - name: Check out repository code diff --git a/turbo.json b/turbo.json index 3f442ed53..7754d6dde 100644 --- a/turbo.json +++ b/turbo.json @@ -87,7 +87,10 @@ "playwright-report/**", "test-results/**" ], - "cache": false + "cache": false, + "env": [ + "ANTHROPIC_API_KEY" + ] }, "e2e:bb": { "dependsOn": ["build"],