chore: use pnpm in gh action

This commit is contained in:
ayo 2026-04-03 02:11:37 +02:00
parent b87b324ddd
commit 2d3c6943e0

View file

@ -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