Skip to content

(feat): ir now adds a TypeReference for container types that makes it easier to generate snippets + autogenerated type examples #380

(feat): ir now adds a TypeReference for container types that makes it easier to generate snippets + autogenerated type examples

(feat): ir now adds a TypeReference for container types that makes it easier to generate snippets + autogenerated type examples #380

Workflow file for this run

name: IR Check
on:
workflow_dispatch:
pull_request:
paths:
- "packages/ir-sdk/fern/apis/**"
branches:
- main
push:
paths:
- "packages/ir-sdk/fern/apis/**"
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Fern
run: npm install -g fern-api
- name: Check IR Definitions
run: |
cd packages/ir-sdk
fern check
- name: Check IR Definitions
env:
FERN_TOKEN: dummy
run: |
cd packages/ir-sdk
yarn generate
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code