Skip to content

Commit 1e560d1

Browse files
committed
feat: github actions for doc:build
1 parent e4600d8 commit 1e560d1

File tree

4 files changed

+85
-210
lines changed

4 files changed

+85
-210
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
uses: peaceiris/actions-gh-pages@v4
3232
with:
3333
github_token: ${{ secrets.GITHUB_TOKEN }}
34-
publish_dir: ./doc_build
34+
publish_dir: ./apps/website/doc_build

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,26 @@
33
"apps/*",
44
"packages/*"
55
],
6+
"scripts": {
7+
"build": "turbo run build",
8+
"dev": "turbo run dev",
9+
"lint": "turbo run lint",
10+
"test": "turbo run test",
11+
"doc:build": "turbo run doc:build",
12+
"doc:preview": "turbo run doc:preview"
13+
},
614
"packageManager": "pnpm@10.0.0",
715
"pnpm": {
816
"onlyBuiltDependencies": [
917
"nodejieba"
1018
]
1119
},
1220
"registry": "https://registry.npmmirror.com",
21+
"devDependencies": {
22+
"turbo": "^2.5.8"
23+
},
24+
"engines": {
25+
"node": ">=18"
26+
},
1327
"private": true
1428
}

0 commit comments

Comments
 (0)