Skip to content

Commit 91028c6

Browse files
committed
ci: bump checkout and setup-node to v6 for Node 24
GitHub deprecated actions running on Node.js 20. The release workflow emitted a warning because actions/checkout@v4 and actions/setup-node@v4 still run on Node.js 20, which is forced to Node.js 24 by default from June 16th, 2026 and removed from runners on September 16th, 2026. Bump both to v6, since v5 onward already runs on Node.js 24, which clears the deprecation warning. oven-sh/setup-bun@v2 is already the latest major and was not flagged, so it stays unchanged. Signed-off-by: Kevin Cui <bh@bugs.cc>
1 parent cd84cb5 commit 91028c6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
check:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
- uses: oven-sh/setup-bun@v2
1414
with:
1515
bun-version-file: .bun-version

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
VERSION_BUMP: ${{ inputs.version_bump }}
4444
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
steps:
46-
- uses: actions/checkout@v4
46+
- uses: actions/checkout@v6
4747
with:
4848
fetch-depth: 0 # need full history + tags to compute the next version
4949
fetch-tags: true
@@ -52,7 +52,7 @@ jobs:
5252
with:
5353
bun-version-file: .bun-version
5454

55-
- uses: actions/setup-node@v4
55+
- uses: actions/setup-node@v6
5656
with:
5757
# OIDC trusted publishing needs Node >= 22.14.0; "22" resolves to the latest 22.x.
5858
node-version: "22"

0 commit comments

Comments
 (0)