Skip to content

Commit

Permalink
try to build with pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
mobeicanyue committed Apr 11, 2024
1 parent 1529ae8 commit 4196cbb
Show file tree
Hide file tree
Showing 2 changed files with 2,388 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 @@ -17,15 +17,19 @@ jobs:
with:
fetch-depth: 0 # 用于获取提交记录,获取文件更新时间

- uses: pnpm/action-setup@v2
with:
version: latest

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

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

0 comments on commit 4196cbb

Please sign in to comment.