Skip to content

Commit 2bf8805

Browse files
committed
fix: e2e env
1 parent d2c10c2 commit 2bf8805

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/e2e.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343

4444
- name: Run Playwright smoke tests
4545
run: pnpm e2e:smoke
46+
env:
47+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
4648

4749
- name: Upload Playwright report
4850
if: always()

turbo.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@
3232
"e2e:smoke": {
3333
"dependsOn": ["^build"],
3434
"outputs": [],
35-
"cache": false
35+
"cache": false,
36+
"env": ["OPENAI_API_KEY"]
3637
},
3738
"e2e:integration": {
3839
"dependsOn": ["^build"],
39-
"outputs": []
40+
"outputs": [],
41+
"env": ["OPENAI_API_KEY"]
4042
},
4143
"typecheck": {
4244
"outputs": [".tsbuildinfo", "dist/**"],

0 commit comments

Comments
 (0)