-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f22a8dc
commit 8709d86
Showing
4 changed files
with
1,213 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Release TypeScript SDK | ||
|
||
on: | ||
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 ${{ inputs.version }} --log-level debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"organization": "intercom", | ||
"version": "0.33.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: intercom/intercom-node | ||
mode: push | ||
branch: 6.0.0-alpha | ||
config: | ||
namespaceExport: Intercom | ||
allowCustomFetcher: true | ||
skipResponseValidation: true | ||
includeApiReference: true | ||
noSerdeLayer: true | ||
smart-casing: true |
Oops, something went wrong.