Skip to content

Commit

Permalink
build(update): 🔧
Browse files Browse the repository at this point in the history
  • Loading branch information
JCAlways committed Sep 18, 2024
1 parent 6390179 commit f7aaed7
Show file tree
Hide file tree
Showing 3 changed files with 791 additions and 464 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4
with:
# “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
# 选择要使用的 node 版本
node-version: "18"
node-version: "20"

# 缓存 node_modules
- name: Cache dependencies
uses: actions/cache@v3.3.2
uses: actions/cache@v4
id: yarn-cache
with:
path: |
Expand All @@ -44,7 +44,7 @@ jobs:
run: yarn docs:build

- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v4.0.0
uses: crazy-max/ghaction-github-pages@v4

with:
# 部署到 gh-pages 分支
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"docs:preview": "vitepress preview"
},
"devDependencies": {
"vitepress": "^1.1.4",
"vue": "^3.4.27"
"vitepress": "^1.3.4",
"vue": "^3.5.6"
}
}
Loading

0 comments on commit f7aaed7

Please sign in to comment.