Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows-disabled/fern_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.1.0

- name: Install Fern
run: npm install -g fern-api
run: pnpm add -g fern-api@5.65.3

- name: Check API is valid
run: fern check
4 changes: 3 additions & 1 deletion .github/workflows-disabled/generate_postman_collection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,18 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.1.0
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: "Create env file"
run: |
touch .env
echo POSTMAN_API_KEY=${{ secrets.POSTMAN_API_KEY }} >> .env
echo POSTMAN_WORKSPACE_ID=${{ secrets.POSTMAN_WORKSPACE_ID }} >> .env
echo ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true >> .env
- run: npm install
- run: pnpm install --frozen-lockfile
- name: Changed Files
id: changed-files
uses: step-security/changed-files@v45
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows-disabled/java-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.1.0

- name: Download Fern
run: npm install -g fern-api
run: pnpm add -g fern-api@5.65.3

- name: Release SDKs
env:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows-disabled/php-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.1.0

- name: Download Fern
run: npm install -g fern-api
run: pnpm add -g fern-api@5.65.3

- name: Release SDKs
env:
Expand Down
20 changes: 16 additions & 4 deletions .github/workflows-disabled/preview_sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ jobs:
- name: Setup node
uses: actions/setup-node@v6

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.1.0

- name: Download Fern
run: npm install -g fern-api
run: pnpm add -g fern-api@5.65.3

- name: Generate Preview
env:
Expand Down Expand Up @@ -50,8 +53,11 @@ jobs:
java-version: "11"
architecture: x64

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.1.0

- name: Download Fern
run: npm install -g fern-api
run: pnpm add -g fern-api@5.65.3

- name: Generate Preview
env:
Expand Down Expand Up @@ -81,8 +87,11 @@ jobs:
run: |
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.1.0

- name: Download Fern
run: npm install -g fern-api
run: pnpm add -g fern-api@5.65.3

- name: Generate Preview
env:
Expand Down Expand Up @@ -110,8 +119,11 @@ jobs:
with:
php-version: "8.1"

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.1.0

- name: Download Fern
run: npm install -g fern-api
run: pnpm add -g fern-api@5.65.3

- name: Generate Preview
env:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows-disabled/python-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.1.0

- name: Download Fern
run: npm install -g fern-api
run: pnpm add -g fern-api@5.65.3

- name: Release SDKs
env:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows-disabled/ts-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4

- name: Install pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.1.0

- name: Download Fern
run: npm install -g fern-api
run: pnpm add -g fern-api@5.65.3

- name: Release SDKs
env:
Expand Down
4 changes: 2 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ postman/ # Postman collection outputs
## Development

```bash
npm install
pnpm install
```

No dev server, no test suite, no linting commands. Validation is done via Fern:

```bash
npm install -g fern-api
pnpm add -g fern-api@5.65.3
fern check # Validate spec
fern generate --preview --group ts-sdk # Preview SDK generation
```
Expand Down
10 changes: 9 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,16 @@ If you're making changes to the OpenAPI spec, you can use the Fern CLI to valida

#### Installation

First-time setup on a new machine — configure pnpm's global bin directory:

```bash
pnpm setup
```

Then install the Fern CLI:

```bash
npm install -g fern-api
pnpm add -g fern-api@5.65.3
```

#### Common Commands
Expand Down
Loading