Skip to content

Commit

Permalink
ci: fix idoc not found.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 22, 2024
1 parent b52db05 commit 364d916
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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 install
- run: npm run build:doc

Ubuntu:
Expand All @@ -44,4 +45,5 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
- run: npm install
- 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 install
- run: npm run build:doc

- name: build document
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@
"tool"
],
"scripts": {
"build": "npm --workspace=idoc run build",
"build:doc": "npm --workspace=document 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",
"clean": "lerna clean --yes",
"prepare": "husky"
},
"lint-staged": {
Expand Down

0 comments on commit 364d916

Please sign in to comment.