Release TypeScript SDK #39
This file contains hidden or 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
| name: Release TypeScript SDK | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: "The version of the SDK you would like to release" | |
| required: true | |
| type: string | |
| jobs: | |
| release: | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Install the Fern CLI | |
| run: npm install -g fern-api | |
| - name: Generate TypeScript SDK | |
| env: | |
| FERN_TOKEN: ${{ secrets.FERN_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| run: | | |
| fern generate --group typescript-sdk --version ${{ inputs.version }} --log-level debug | |
| - name: Regenerate Docs | |
| env: | |
| FERN_TOKEN: ${{ secrets.FERN_TOKEN }} | |
| run: | | |
| fern generate --docs |