Skip to content

Commit

Permalink
chore(deploy.yml): use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
lv-z-l committed Jul 13, 2023
1 parent bcbb884 commit ff93f19
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@ jobs:
with:
node-version: 16
cache: npm
- run: npm ci
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- run: pnpm i
- name: Build
run: npm run docs:build
run: pnpm run docs:build
- uses: actions/configure-pages@v2
- uses: actions/upload-pages-artifact@v1
with:
path: .vitepress/dist
- name: Deploy
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v1

0 comments on commit ff93f19

Please sign in to comment.