From 9483022565307883c07b6ffbbaa4b79450677877 Mon Sep 17 00:00:00 2001 From: fern-bot <174841662+fern-bot@users.noreply.github.com> Date: Tue, 12 May 2026 19:49:38 +0000 Subject: [PATCH 1/2] ci: pin GitHub Actions workflows to Node.js 24 Add an explicit `actions/setup-node@v4` step pinned to Node 24 before `fern-api/setup-fern-cli@v1` in all three workflows so the Fern CLI runs on Node 24 (the ubuntu-latest default is currently Node 20). --- .github/workflows/check.yml | 5 +++++ .github/workflows/preview-docs.yml | 5 +++++ .github/workflows/publish-docs.yml | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 98f4d15..4ab37d8 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -13,6 +13,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "24" + - name: Setup Fern CLI uses: fern-api/setup-fern-cli@v1 diff --git a/.github/workflows/preview-docs.yml b/.github/workflows/preview-docs.yml index e4138a9..b984ed5 100644 --- a/.github/workflows/preview-docs.yml +++ b/.github/workflows/preview-docs.yml @@ -19,6 +19,11 @@ jobs: git fetch origin pull/${{ github.event.pull_request.number }}/head:pr-${{ github.event.pull_request.number }} git checkout pr-${{ github.event.pull_request.number }} + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "24" + - name: Setup Fern CLI uses: fern-api/setup-fern-cli@v1 diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index fcc6811..61518c9 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -13,6 +13,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "24" + - name: Setup Fern CLI uses: fern-api/setup-fern-cli@v1 From 752cd9a24ac2bce566382c3bc12986581c13cdab Mon Sep 17 00:00:00 2001 From: fern-bot <174841662+fern-bot@users.noreply.github.com> Date: Tue, 12 May 2026 19:55:02 +0000 Subject: [PATCH 2/2] ci: bump actions/checkout and actions/setup-node to v5 v5 of both first-party actions runs on Node.js 24 (vs. Node 20 in v4), which silences the runner deprecation warning for these actions and keeps everything we control consistently on Node 24. --- .github/workflows/check.yml | 4 ++-- .github/workflows/preview-docs.yml | 4 ++-- .github/workflows/publish-docs.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 4ab37d8..bedf466 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: "24" diff --git a/.github/workflows/preview-docs.yml b/.github/workflows/preview-docs.yml index b984ed5..159ba6a 100644 --- a/.github/workflows/preview-docs.yml +++ b/.github/workflows/preview-docs.yml @@ -10,7 +10,7 @@ jobs: pull-requests: write steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 # Fetch full history for git diff @@ -20,7 +20,7 @@ jobs: git checkout pr-${{ github.event.pull_request.number }} - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: "24" diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 61518c9..31d8270 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -11,10 +11,10 @@ jobs: if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/heads/main') && github.run_number > 1 }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: "24"