From 9b569fc588ee4a1083c116ff8f501962d0927657 Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Sun, 22 Feb 2026 20:16:17 -0500 Subject: [PATCH] Use fern-api/setup-fern-cli@v1 action instead of npm install 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 in CI. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4926893..cf4d63b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,8 +16,8 @@ jobs: distribution: 'zulu' java-version: '17' cache: 'gradle' - - name: Install fern - run: npm install -g fern-api + - name: Setup Fern CLI + uses: fern-api/setup-fern-cli@v1 - name: fern generate run: fern generate env: @@ -25,4 +25,4 @@ jobs: - name: Compile run: ./gradlew compileJava - name: Unit Test - run: ./gradlew test \ No newline at end of file + run: ./gradlew test