fix: fix pnpm setup

This commit is contained in:
Aaron 2024-07-04 16:37:57 +08:00
parent b41ed545ca
commit aa4bf7d439
2 changed files with 6 additions and 6 deletions

View File

@ -17,12 +17,12 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 8
version: 9
run_install: false
- uses: actions/cache@v3

View File

@ -13,10 +13,10 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- uses: pnpm/action-setup@v2
node-version: 18
- uses: pnpm/action-setup@v4
with:
version: 8
version: 9
- uses: actions/checkout@v2
- run: pnpm install
- run: pnpm build