chore: use pnpm in gh action
This commit is contained in:
parent
b87b324ddd
commit
2d3c6943e0
1 changed files with 5 additions and 2 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
|
@ -16,6 +16,9 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set pnpm
|
||||
uses: pnpm/action-setup
|
||||
|
||||
- name: Set node
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
|
|
@ -25,6 +28,6 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
- run: npm ci
|
||||
- run: npm test
|
||||
- run: pnpm install
|
||||
- run: pnpm build
|
||||
- run: npm publish --ignore-scripts
|
||||
|
|
|
|||
Loading…
Reference in a new issue