update ci, use pnpm

This commit is contained in:
ClasWen 2024-03-30 15:04:51 +08:00
parent 92fcfcb69b
commit e23ffe94fd

View file

@ -22,11 +22,16 @@ jobs:
with:
node-version: 20
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Install Dependent Node Packages
run: npm install
run: pnpm install
- name: build
run: npm run build --base ${{ github.event.repository.name }}
run: pnpm run build --base ${{ github.event.repository.name }}
- name: Deploy # 部署
uses: JamesIves/github-pages-deploy-action@v4.5.0