From 670467aa0d36ee20b0dfe588f7d7a70cef35a764 Mon Sep 17 00:00:00 2001 From: Brad Anderson Date: Sun, 17 May 2026 13:30:57 -0400 Subject: [PATCH] ci: bump checkout/setup-node to v5 for Node 24 runtime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub deprecated Node.js 20 for action runtimes (forced default June 2, 2026; removed Sept 16, 2026). v5 of both actions runs on Node 24. Also bump npm publish Node version from 20 → 22 LTS. --- .github/workflows/main.yml | 4 ++-- .github/workflows/release.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 574d2be..02230da 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: if: github.event_name == 'pull_request' && !startsWith(github.head_ref, 'chore/') && !startsWith(github.head_ref, 'ci/') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - uses: oven-sh/setup-bun@v2 @@ -26,7 +26,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: oven-sh/setup-bun@v2 with: bun-version: 1.3.2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cababa8..f766104 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: id-token: write steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 token: ${{ secrets.RELEASE_TOKEN }} @@ -27,9 +27,9 @@ jobs: bun-version: 1.3.2 - name: Setup Node.js (for npm publish with OIDC) - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: - node-version: "20" + node-version: "22" - name: Upgrade npm for OIDC support run: npm install -g npm@latest