File tree 4 files changed +1433
-1244
lines changed
4 files changed +1433
-1244
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Deploy Docs
2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [main]
6
6
# docs内容变动才会触发action
7
7
paths :
8
8
- ' docs/**'
13
13
steps :
14
14
- name : Checkout code
15
15
uses : actions/checkout@v3
16
-
16
+
17
17
- name : Install pnpm
18
18
uses : pnpm/action-setup@v2
19
19
with :
26
26
node-version : 18
27
27
28
28
- name : Install dependencies
29
- run : pnpm install
29
+ run : pnpm install --no-frozen-lockfile
30
30
31
31
- name : Build docs
32
32
run : pnpm docs:build
35
35
uses : peaceiris/actions-gh-pages@v3
36
36
with :
37
37
github_token : ${{ secrets.GH_RELEASE_TOKEN }}
38
- publish_dir : ./docs/.vitepress/dist
38
+ publish_dir : ./docs/.vitepress/dist
Original file line number Diff line number Diff line change 53
53
title : ' chore(deploy): Release'
54
54
env :
55
55
GITHUB_TOKEN : ${{ secrets.GH_RELEASE_TOKEN }}
56
- NPM_TOKEN : ${{ secrets.NPM_ACCESS_TOKEN }}
56
+ NPM_TOKEN : ${{ secrets.NPM_ACCESS_TOKEN }}
Original file line number Diff line number Diff line change 28
28
"author" : " " ,
29
29
"license" : " ISC" ,
30
30
"devDependencies" : {
31
- "@changesets/changelog-github" : " ^0.4.8 " ,
32
- "@changesets/cli" : " ^2.26.2 " ,
33
- "@types/jest" : " ^29.5.10 " ,
34
- "@types/node" : " ^20.8.9 " ,
31
+ "@changesets/changelog-github" : " ^0.5.0 " ,
32
+ "@changesets/cli" : " ^2.27.9 " ,
33
+ "@types/jest" : " ^29.5.13 " ,
34
+ "@types/node" : " ^22.7.5 " ,
35
35
"diy-log" : " ^2.5.1" ,
36
36
"gulp" : " ^4.0.2" ,
37
37
"jest" : " ^29.7.0" ,
38
38
"minimist" : " ^1.2.8" ,
39
39
"rimraf" : " 5.0.1" ,
40
40
"simple-git" : " ^3.21.0" ,
41
41
"vinyl" : " ^3.0.0" ,
42
- "vitepress" : " 1.0.0-rc.22 "
42
+ "vitepress" : " 1.4.1 "
43
43
}
44
44
}
You can’t perform that action at this time.
0 commit comments