Skip to content

Add Fern badge to README.md #243

Add Fern badge to README.md

Add Fern badge to README.md #243

Workflow file for this run

name: Fern check
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
fern-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
- name: Install fern
run: npm install -g fern-api
- name: Generate code
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: fern generate --group publish --local --log-level=debug
- name: Copy files
run: rm generated/__init__.py && cp -r generated/* nixtla
- name: Verify no changes were made
run: if git diff --exit-code; then echo "No changes"; else echo "Changes were made"; exit 1; fi