Skip to content

Use setup-fern-cli action instead of npm install#8

Merged
Swimburger merged 2 commits intomainfrom
use-setup-fern-cli-action
Feb 23, 2026
Merged

Use setup-fern-cli action instead of npm install#8
Swimburger merged 2 commits intomainfrom
use-setup-fern-cli-action

Conversation

@fern-support
Copy link
Copy Markdown

Summary

  • Replaces the manual npm install -g fern-api step with the fern-api/setup-fern-cli@v1 GitHub Action in .github/workflows/publish-docs.yml
  • No setup-node step is needed since GitHub-hosted ubuntu-latest runners include Node.js by default

Test plan

  • Verify the publish-docs workflow runs successfully on the next push to main
  • Confirm the Fern CLI is installed correctly via the action and fern generate --docs completes without errors

🤖 Generated with Claude Code

Replace the manual `npm install -g fern-api` step with the
`fern-api/setup-fern-cli@v1` GitHub Action for a more maintainable
and idiomatic way to install the Fern CLI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Replace `npm install -g fern-api` with the `fern-api/setup-fern-cli@v1`
action in check.yml, preview-docs.yml, and generate-sdks.yml.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

@Swimburger Swimburger merged commit 4692224 into main Feb 23, 2026
2 checks passed
@Swimburger Swimburger deleted the use-setup-fern-cli-action branch February 23, 2026 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants