Skip to content

Commit 2e6ce7b

Browse files
authored
fix(ci): add cnwebsite to root workspaces for CI build (#1023)
cnwebsite was missing from root workspaces, so yarn install in CI did not install its dependencies (including @docusaurus/core), causing 'docusaurus: not found' during build. Also add workflow file to paths filter so workflow changes trigger builds.
1 parent 3ee75e7 commit 2e6ce7b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
paths:
99
- "cnwebsite/**"
1010
- "cndocs/**"
11+
- ".github/workflows/gh-pages.yml"
1112

1213
jobs:
1314
deploy:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"node": ">=22"
77
},
88
"workspaces": [
9-
"website",
9+
"cnwebsite",
1010
"packages/*",
1111
"plugins/*"
1212
],

0 commit comments

Comments
 (0)