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

@@ -22,17 +22,22 @@ jobs:
with:
node-version: 20.x
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Build
id: build
run: |
npm install
npm install js-yaml
npm run build
pnpm install
pnpm add js-yaml
pnpm build
- name: Test
id: test
run: |
npm run test
pnpm test
- name: Get Tag Name
id: get_tag