Skip to content

[Docs] Update assistant-setup-inbound.mdx #173

[Docs] Update assistant-setup-inbound.mdx

[Docs] Update assistant-setup-inbound.mdx #173

Workflow file for this run

name: Preview SDKs
on:
pull_request:
paths:
- 'fern/**'
- 'openapi.json'
- 'openapi-overrides.yml'
jobs:
preview-typescript:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
- name: Download Fern
run: npm install -g fern-api
- name: Generate Preview
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: |
fern generate --api api --group ts-sdk --preview --log-level debug
- name: Compile
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: |
cd fern/apis/api/.preview/fern-typescript-node-sdk
yarn install
yarn build
preview-python:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
- name: Download Fern
run: npm install -g fern-api
- name: Preview Python SDK
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: |
fern generate --api api --group python-sdk --preview --log-level debug
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Bootstrap poetry
run: |
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
- name: Compile
run: |
cd fern/apis/api/.preview/fern-python-sdk
poetry install
poetry run mypy .