Skip to content

Commit de695ce

Browse files
ci: pin GitHub Actions workflows to Node.js 24 (#117)
Co-authored-by: fern-bot <174841662+fern-bot@users.noreply.github.com>
1 parent b2762fb commit de695ce

3 files changed

Lines changed: 18 additions & 3 deletions

File tree

.github/workflows/check.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout repository
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v5
18+
with:
19+
node-version: "24"
1520

1621
- name: Setup Fern CLI
1722
uses: fern-api/setup-fern-cli@v1

.github/workflows/preview-docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
pull-requests: write
1111
steps:
1212
- name: Checkout repository
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v5
1414
with:
1515
fetch-depth: 0 # Fetch full history for git diff
1616

@@ -19,6 +19,11 @@ jobs:
1919
git fetch origin pull/${{ github.event.pull_request.number }}/head:pr-${{ github.event.pull_request.number }}
2020
git checkout pr-${{ github.event.pull_request.number }}
2121
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v5
24+
with:
25+
node-version: "24"
26+
2227
- name: Setup Fern CLI
2328
uses: fern-api/setup-fern-cli@v1
2429

.github/workflows/publish-docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ jobs:
1111
if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/heads/main') && github.run_number > 1 }}
1212
steps:
1313
- name: Checkout repository
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v5
18+
with:
19+
node-version: "24"
1520

1621
- name: Setup Fern CLI
1722
uses: fern-api/setup-fern-cli@v1

0 commit comments

Comments
 (0)