chore(ci): install pnpm with action-setup

This commit is contained in:
Leafd 2025-10-05 02:41:12 -04:00
parent 0053847bd4
commit f71639892f
No known key found for this signature in database
GPG key ID: D44AE7A3699406BE

View file

@ -94,15 +94,15 @@ jobs:
key: '${{ runner.os }}-rust-target-${{ hashFiles(''**/Cargo.lock'') }}'
restore-keys: |
${{ runner.os }}-rust-target-
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js
uses: actions/setup-node@v5
with:
node-version: 20
- name: Install pnpm via corepack
shell: bash
run: |
corepack enable
corepack prepare --activate
cache: pnpm
- name: Get pnpm store directory
id: pnpm-cache
shell: bash