Skip to content

Commit ccfb7c1

Browse files
committed
ci: update workflows/ci.yml
1 parent 949f886 commit ccfb7c1

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424

2525
- run: npm install
2626
- run: npm run build
27+
- run: npm run build:doc
2728

2829
Ubuntu:
2930
name: Ubuntu Node.js ${{ matrix.node-version }}
@@ -43,3 +44,4 @@ jobs:
4344
node-version: ${{ matrix.node-version }}
4445
- run: npm install
4546
- run: npm run build
47+
- run: npm run build:doc

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919

2020
- run: npm install
2121
- run: npm run build
22+
- run: npm run build:doc
2223
- run: cp schema dist
2324
working-directory: examples/document
2425

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"version": "1.33.2",
3-
"packages": ["examples/*", "core"]
3+
"packages": ["examples/**", "core"]
44
}

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"tool"
1717
],
1818
"scripts": {
19-
"build": "lerna exec --scope idoc --scope document -- npm run build",
19+
"build": "lerna exec --scope idoc -- npm run build",
20+
"build:doc": "lerna exec --scope document -- npm run build",
2021
"version": "lerna version --exact --force-publish --no-push --no-git-tag-version",
2122
"prettier": "prettier --write --ignore-unknown \"**/*.{js,ts,css,json}\"",
2223
"type-check": "tsc --noEmit",
@@ -30,7 +31,7 @@
3031
},
3132
"workspaces": [
3233
"core",
33-
"examples/*"
34+
"examples/**"
3435
],
3536
"devDependencies": {
3637
"idoc": "^1.33.2",

0 commit comments

Comments
 (0)