Skip to content

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

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

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

Conversation

@fern-support
Copy link

Summary

  • Replace the manual npm install -g fern-api step with the fern-api/setup-fern-cli@v1 GitHub Action in .github/workflows/generate-sdks.yml
  • The setup-fern-cli action requires Node.js/npm, but no explicit setup-node step is needed since GitHub-hosted ubuntu-latest runners include Node.js by default

Test plan

  • Verify the updated workflow runs successfully on a tag push
  • Confirm the Fern CLI is available in subsequent steps after the setup-fern-cli action

🤖 Generated with Claude Code

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

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

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

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

@Swimburger Swimburger merged commit c90f434 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