Skip to content

Commit

Permalink
🌿 Add fern configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] authored and amckinney committed Jul 17, 2024
1 parent f22a8dc commit 0b1f415
Show file tree
Hide file tree
Showing 4 changed files with 1,216 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ts-sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release TypeScript SDK


on:
- push

# workflow_dispatch:
# inputs:
# version:
# description: "The version of the SDKs that you would like to release"
# required: true
# type: string

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Setup node
uses: actions/setup-node@v3

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

- name: Release SDKs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
FERN_NPM_TOKEN: ${{ secrets.FERN_NPM_TOKEN }}
run: |
fern generate --group ts-sdk --version 6.0.0-alpha --log-level debug
4 changes: 4 additions & 0 deletions fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"organization": "intercom",
"version": "0.33.1"
}
25 changes: 25 additions & 0 deletions fern/generators.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
api:
path: ../descriptions/2.11/api.intercom.io.yaml
overrides: ./openapi-overrides.yml
settings:
use-title: false
groups:
ts-sdk:
generators:
- name: fernapi/fern-typescript-node-sdk
version: 0.34.0
# output:
# location: npm
# package-name: intercom-client
# token: ${FERN_NPM_TOKEN}
github:
repository: fern-api/github-app-test
mode: push
branch: 6.0.0-alpha
config:
namespaceExport: Intercom
allowCustomFetcher: true
skipResponseValidation: true
includeApiReference: true
noSerdeLayer: true
smart-casing: true
Loading

0 comments on commit 0b1f415

Please sign in to comment.