chore: use pnpm in release gh action
This commit is contained in:
parent
dc544e61e1
commit
477a10238a
1 changed files with 7 additions and 2 deletions
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
|
@ -16,6 +16,11 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
steps:
|
||||
- uses: pnpm/action-setup@v5
|
||||
with:
|
||||
version: 10
|
||||
|
||||
- name: Set node
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
|
|
@ -25,6 +30,6 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- run: pnpm install
|
||||
- run: pnpm build
|
||||
- run: npm publish
|
||||
Loading…
Reference in a new issue