Skip to content

Commit e88caf5

Browse files
committed
🔧 ci: add doctor check
1 parent fafd1e9 commit e88caf5

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
- name: Test
3030
run: pnpm run test
3131

32+
- name: Health check with doctor
33+
run: pnpm run doctor
34+
3235
release:
3336
needs: test
3437
name: Release

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@ jobs:
2323
- name: Test and coverage
2424
run: pnpm run test:coverage
2525

26+
- name: Health check with doctor
27+
run: pnpm run doctor
28+
2629
- name: Upload coverage to Codecov
2730
uses: codecov/codecov-action@v3

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"scripts": {
1515
"build": "lerna run build --parallel",
1616
"clean": "lerna run clean && rm -rf es lib dist build coverage .umi .eslintcache apis",
17+
"doctor": "lerna run doctor",
1718
"postinstall": "npm run build",
1819
"lint": "npm run lint-eslint && npm run tsc",
1920
"lint-eslint": "eslint --cache --fix --ext .js,.jsx,.ts,.tsx packages/**/src",

0 commit comments

Comments
 (0)