Skip to content

Commit

Permalink
fix(generators): install the fern cli before running generate (#1317)
Browse files Browse the repository at this point in the history
  • Loading branch information
armandobelardo authored Aug 19, 2024
1 parent f8d394f commit d92ccc5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-fdr-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
- name: 🧪 Build and test
run: pnpm turbo codegen build test --filter=${{ env.PACKAGE_NAME }}

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

- name: Publish FDR SDK
env:
NPM_TOKEN: ${{ secrets.FERN_NPM_TOKEN }}
Expand All @@ -67,3 +70,4 @@ jobs:
run: |
git_version="$(scripts/fdr-version.sh)"
fern generate --api fdr --group fdr-cjs-sdk --version ${git_version} --log-level debug
fern generate --api fdr --group generator-sdk --version ${git_version} --log-level debug

0 comments on commit d92ccc5

Please sign in to comment.