File tree Expand file tree Collapse file tree 4 files changed +1433
-1244
lines changed
Expand file tree Collapse file tree 4 files changed +1433
-1244
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Deploy Docs
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 # docs内容变动才会触发action
77 paths :
88 - ' docs/**'
1313 steps :
1414 - name : Checkout code
1515 uses : actions/checkout@v3
16-
16+
1717 - name : Install pnpm
1818 uses : pnpm/action-setup@v2
1919 with :
2626 node-version : 18
2727
2828 - name : Install dependencies
29- run : pnpm install
29+ run : pnpm install --no-frozen-lockfile
3030
3131 - name : Build docs
3232 run : pnpm docs:build
3535 uses : peaceiris/actions-gh-pages@v3
3636 with :
3737 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 5353 title : ' chore(deploy): Release'
5454 env :
5555 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 2828 "author" : " " ,
2929 "license" : " ISC" ,
3030 "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 " ,
3535 "diy-log" : " ^2.5.1" ,
3636 "gulp" : " ^4.0.2" ,
3737 "jest" : " ^29.7.0" ,
3838 "minimist" : " ^1.2.8" ,
3939 "rimraf" : " 5.0.1" ,
4040 "simple-git" : " ^3.21.0" ,
4141 "vinyl" : " ^3.0.0" ,
42- "vitepress" : " 1.0.0-rc.22 "
42+ "vitepress" : " 1.4.1 "
4343 }
4444}
You can’t perform that action at this time.
0 commit comments