🔧 ci: update pnpm action

ref to: https://github.com/pnpm/action-setup/issues/136
This commit is contained in:
frostime 2024-07-04 21:27:46 +08:00
parent 504de7d821
commit 059744903d

View file

@ -17,12 +17,12 @@ jobs:
- name: Install Node.js - name: Install Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 20
registry-url: "https://registry.npmjs.org" registry-url: "https://registry.npmjs.org"
# Install pnpm # Install pnpm
- name: Install pnpm - name: Install pnpm
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v4
id: pnpm-install id: pnpm-install
with: with:
version: 8 version: 8