Bump openai from 4.0.0-beta.12 to 4.76.3 #452
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On Push | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16.x | |
- run: yarn | |
- run: yarn lint | |
env: | |
CI: true | |
test-and-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16.x | |
- run: yarn | |
- run: yarn build | |
- run: yarn test | |
test-building-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16.x | |
- run: yarn | |
- run: yarn build | |
- run: yarn build:docs | |
test-examples: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16.x | |
- run: yarn | |
- run: yarn build | |
- run: cd examples/api && yarn test:js | |
env: | |
DEPLOYMENT_ID: ${{ secrets.DEPLOYMENT_ID }} | |
REGION: ${{ secrets.REGION }} | |
- run: cd examples/api && yarn test:ts | |
env: | |
DEPLOYMENT_ID: ${{ secrets.DEPLOYMENT_ID }} | |
REGION: ${{ secrets.REGION }} | |
- run: cd examples/cli-scripted-tests && chmod +x ./run.sh && ./run.sh | |
env: | |
DEPLOYMENT_ID: ${{ secrets.DEPLOYMENT_ID }} | |
REGION: ${{ secrets.REGION }} |