Skip to content

Release TypeScript SDK #6

Release TypeScript SDK

Release TypeScript SDK #6

name: Release TypeScript SDK
on:
workflow_dispatch:
inputs:
version:
description: "The version of the TypeScript SDK 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 TypeScript SDK
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
fern generate --group ts-sdk --version ${{ inputs.version }} --log-level debug
- name: Update Code Snippets
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: |
fern generate --docs