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.
This commit is contained in:
2026-07-25 15:48:53 +07:00
parent 7b51fee404
commit f0faece37b
+5 -3
View File
@@ -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