🔧 (typescript_test.yml): add OPENAI_API_KEY to environment variables in CI
✅ (basicExamples.spec.ts): refactor API key check to run at the start of tests
This commit is contained in:
parent
6e16a6e83b
commit
b645d17c87
2 changed files with 22 additions and 20 deletions
2
.github/workflows/typescript_test.yml
vendored
2
.github/workflows/typescript_test.yml
vendored
|
|
@ -25,6 +25,8 @@ jobs:
|
|||
matrix:
|
||||
shardIndex: [1, 2, 3, 4, 5]
|
||||
shardTotal: [5]
|
||||
env:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue