From f0faece37bf4419fa10e1ced82e640f1e8114a6c Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Sat, 25 Jul 2026 15:48:53 +0700 Subject: [PATCH] ci: bump actions to latest stable majors Clears the "Node.js 20 is deprecated / being forced to run on Node.js 24" warning by moving off the v4 actions: - actions/checkout v4 -> v7 - actions/setup-node v4 -> v7 - pnpm/action-setup v4 -> v6 Kept pnpm/action-setup ahead of setup-node (its `cache: pnpm` needs pnpm on PATH first) and noted why; pnpm version still comes from the packageManager field in package.json. --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c6dc62..d1453ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,11 +24,13 @@ jobs: UPSTASH_REDIS_REST_URL: https://example.upstash.io UPSTASH_REDIS_REST_TOKEN: ci_placeholder steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - - uses: pnpm/action-setup@v4 + # Must run before setup-node so its `cache: pnpm` can find pnpm. + # Version comes from the `packageManager` field in package.json. + - uses: pnpm/action-setup@v6 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: node-version: 22 cache: pnpm