Skip to content

Commit

Permalink
chore: update scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 22, 2024
1 parent 52cdeb6 commit f469b69
Show file tree
Hide file tree
Showing 3 changed files with 5 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 type-check
- run: npm install
- run: npm run build:doc

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

Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
"tool"
],
"scripts": {
"build": "lerna exec --scope idoc -- npm run build",
"build:doc": "lerna exec --scope document -- npm run build",
"build": "lerna exec --scope idoc --scope document -- npm run build",
"type-check": "lerna exec --scope idoc -- npm run type-check",
"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"
},
Expand Down

0 comments on commit f469b69

Please sign in to comment.