Skip to content

Commit

Permalink
ci: update workflows/ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 22, 2024
1 parent 949f886 commit ccfb7c1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:

- run: npm install
- run: npm run build
- run: npm run build:doc

Ubuntu:
name: Ubuntu Node.js ${{ matrix.node-version }}
Expand All @@ -43,3 +44,4 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
- run: npm run build:doc
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:

- run: npm install
- run: npm run build
- run: npm run build:doc
- run: cp schema dist
working-directory: examples/document

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.33.2",
"packages": ["examples/*", "core"]
"packages": ["examples/**", "core"]
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"tool"
],
"scripts": {
"build": "lerna exec --scope idoc --scope document -- npm run build",
"build": "lerna exec --scope idoc -- npm run build",
"build:doc": "lerna exec --scope document -- npm run build",
"version": "lerna version --exact --force-publish --no-push --no-git-tag-version",
"prettier": "prettier --write --ignore-unknown \"**/*.{js,ts,css,json}\"",
"type-check": "tsc --noEmit",
Expand All @@ -30,7 +31,7 @@
},
"workspaces": [
"core",
"examples/*"
"examples/**"
],
"devDependencies": {
"idoc": "^1.33.2",
Expand Down

0 comments on commit ccfb7c1

Please sign in to comment.