From 1dd904248f5489246a745d5fc3b5c8d1ddaa52ac Mon Sep 17 00:00:00 2001 From: viny Date: Wed, 29 Jul 2026 21:54:09 +0530 Subject: [PATCH] ci: move actions to v5 for the node24 runtime actions/checkout@v4 and setup-node@v4 run on node20, which GitHub is retiring; runners already force them onto node24 and warn. v5 is the first release that targets node24 natively. Staying on v5 rather than the latest v7 because v5 is the smallest change that clears the warning, and the newer majors alter defaults this workflow does not need. --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd5fdcd..3371548 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,8 +21,8 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 with: node-version: 22 cache: npm @@ -50,8 +50,8 @@ jobs: script: dist:linux runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 with: node-version: 22 cache: npm @@ -85,8 +85,8 @@ jobs: script: dist:linux runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 with: node-version: 22 cache: npm @@ -108,7 +108,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Publish the draft release env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}