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:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Set pnpm
|
||||||
|
uses: pnpm/action-setup
|
||||||
|
|
||||||
- name: Set node
|
- name: Set node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
|
|
@ -25,6 +28,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|
||||||
- run: npm ci
|
- run: pnpm install
|
||||||
- run: npm test
|
- run: pnpm build
|
||||||
- run: npm publish --ignore-scripts
|
- run: npm publish --ignore-scripts
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue