fix(docs): add redirects to SDK docs IA change #1992
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: fern | |
on: | |
pull_request: | |
paths: | |
- "fern/**" | |
branches: | |
- main | |
jobs: | |
check-definitions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install | |
uses: ./.github/actions/install | |
- name: Check API definition is valid | |
env: | |
FORCE_COLOR: "2" | |
FERN_TOKEN: ${{ secrets.FERN_TOKEN }} | |
AUTH0_DOMAIN: ${{ secrets.AUTH0_DOMAIN }} | |
AUTH0_CLIENT_ID: ${{ secrets.AUTH0_CLIENT_ID }} | |
POSTHOG_API_KEY: ${{ secrets.POSTHOG_PROJECT_API_KEY }} | |
run: | | |
pnpm --filter @fern-api/cli dist:cli:prod | |
cli_path="$(pwd)/packages/cli/cli/dist/prod/cli.cjs" | |
node $cli_path check | |