mirror of
https://github.com/tiennm99/bsk.git
synced 2026-08-05 20:21:59 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user