🎨 Change npm to pnpm

This commit is contained in:
Tw93
2025-08-26 15:10:06 +08:00
parent f084b2fb75
commit 2b45a1f635
14 changed files with 2324 additions and 3713 deletions

View File

@@ -68,7 +68,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
cache: "pnpm"
- name: Install Rust for ubuntu-24.04
if: inputs.platform == 'ubuntu-24.04'
@@ -109,7 +109,7 @@ jobs:
path: |
node_modules
~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-
@@ -117,7 +117,7 @@ jobs:
shell: bash
run: |
echo "Installing latest pake-cli..."
npm install pake-cli@latest --no-package-lock
pnpm install pake-cli@latest
# Verify installation
if [ ! -d "node_modules/pake-cli" ]; then