Skip to content

Commit 795ecd4

Browse files
fern-supportSwimburgerclaude
authored
Use setup-fern-cli GitHub Action in preview-docs workflow (#98)
Co-authored-by: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c2670c9 commit 795ecd4

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
- name: Checkout repository
1414
uses: actions/checkout@v4
1515

16-
- name: Install Fern CLI tool
17-
run: npm install -g fern-api
16+
- name: Setup Fern CLI
17+
uses: fern-api/setup-fern-cli@v1
1818

1919
- name: Check API is valid
2020
run: fern check

.github/workflows/preview-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4
1414

15-
- name: Install Fern CLI tool
16-
run: npm install -g fern-api
15+
- name: Setup Fern CLI
16+
uses: fern-api/setup-fern-cli@v1
1717

1818
- name: Generate preview URL
1919
id: generate-docs

.github/workflows/publish-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
- name: Checkout repository
1414
uses: actions/checkout@v4
1515

16-
- name: Install Fern CLI tool
17-
run: npm install -g fern-api
16+
- name: Setup Fern CLI
17+
uses: fern-api/setup-fern-cli@v1
1818

1919
- name: Publish Docs
2020
env:

0 commit comments

Comments
 (0)