Skip to content

feature: configurable python (OpenAI) client #364

feature: configurable python (OpenAI) client

feature: configurable python (OpenAI) client #364

Workflow file for this run

name: js
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
on:
pull_request:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Cache node_modules
uses: actions/cache@v4
with:
path: |
node_modules
!node_modules/.cache/turbo
key: ${{ matrix.runner }}-${{ matrix.node_version }}-node-${{ env.nodeModulesCacheHash }}
restore-keys: |
${{ matrix.runner }}-${{ matrix.node_version }}-node-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install
- run: pnpm run test
- run: pnpm run build