Skip to content

chore(internal): Upgrade TypeScript #2239

chore(internal): Upgrade TypeScript

chore(internal): Upgrade TypeScript #2239

Workflow file for this run

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