From b125302658e1dcf5150b1f240f8093da88291d7a Mon Sep 17 00:00:00 2001 From: Alfred Gutierrez Date: Sat, 12 Sep 2026 01:25:47 +0900 Subject: [PATCH] Update checkout and setup-node to v7 for Node 24 GitHub has deprecated Node 20 for actions and warns on every run that actions/checkout@v4 and actions/setup-node@v4 are being forced onto Node 24. v7 of both target Node 24. Both workflows already set cache: 'npm' and package.json has no packageManager field, so setup-node's caching changes since v5 don't apply. --- .github/workflows/github-pages.yml | 4 ++-- .github/workflows/node.js.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 6573fae..46367f4 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -17,10 +17,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: '24' cache: 'npm' diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index ca9aedf..2672275 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -14,8 +14,8 @@ jobs: node-version: [22.x, 24.x] steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: ${{ matrix.node-version }} cache: 'npm'