Skip to content

Commit

Permalink
chore: change hexo build from pnpm to yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
mobeicanyue committed May 27, 2024
1 parent baa7f68 commit d314631
Show file tree
Hide file tree
Showing 3 changed files with 2,359 additions and 2,736 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,15 @@ jobs:
with:
fetch-depth: 0

- uses: pnpm/action-setup@v4
with:
version: latest
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
cache: "yarn"

- name: Install Dependencies
run: |
pnpm install
yarn install
# https://github.com/zhullyb/zhullyb.github.io/blob/master/.github/workflows/deploy.yml
# 修复 hexo 生成的文件更新时间 为当前时间,实际应为提交时间
Expand All @@ -38,7 +35,7 @@ jobs:
- name: Build Site
run: |
pnpm build
yarn build
- name: Move baidu_verify
run: |
Expand Down
Loading

0 comments on commit d314631

Please sign in to comment.