use pnpm in github release

This commit is contained in:
duanfuxiang
2025-04-09 10:14:20 +08:00
parent fb71bf61ac
commit 6aa2a91476
5 changed files with 126 additions and 14781 deletions

View File

@@ -14,10 +14,15 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '20'
- run: npm ci
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Type check
run: npm run type:check
run: pnpm run type:check
- name: Lint check
run: npm run lint:check
run: pnpm run lint:check
- name: Test
run: npm test
run: pnpm test