Skip to content

Commit 684f891

Browse files
committed
改用 pnpm 打包
1 parent 31e1d43 commit 684f891

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/hexo-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v3
2424
- name: Use Node.js 21.x
25-
uses: actions/setup-node@v3
25+
uses: pnpm/action-setup@v4
2626
with:
27-
node-version: 21.x
28-
cache: 'npm'
29-
- run: npm i
27+
version: 10
28+
cache: true
29+
- run: pnpm i
3030
- run: npx hexo clean && npx hexo g --config _config-deploy.yml
3131
- name: Deploy
3232
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)