Skip to content

Commit

Permalink
improve openapi:
Browse files Browse the repository at this point in the history
  • Loading branch information
dannysheridan committed Sep 30, 2023
1 parent 5cf43c0 commit 0049e9c
Show file tree
Hide file tree
Showing 3 changed files with 149 additions and 280 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: ci

on: push

jobs:
fern-check:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install Fern
run: npm install -g fern-api

- name: Check API Definition is valid
run: fern check

fern-generate-docs:
needs: fern-check
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3

- name: Install Fern
run: npm install -g fern-api

- name: Generate and Publish Docs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: fern generate --docs
Binary file added fern/.DS_Store
Binary file not shown.
Loading

0 comments on commit 0049e9c

Please sign in to comment.