Skip to content

Commit

Permalink
🔧 ci: add doctor check
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jun 10, 2023
1 parent fafd1e9 commit e88caf5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: Test
run: pnpm run test

- name: Health check with doctor
run: pnpm run doctor

release:
needs: test
name: Release
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ jobs:
- name: Test and coverage
run: pnpm run test:coverage

- name: Health check with doctor
run: pnpm run doctor

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"scripts": {
"build": "lerna run build --parallel",
"clean": "lerna run clean && rm -rf es lib dist build coverage .umi .eslintcache apis",
"doctor": "lerna run doctor",
"postinstall": "npm run build",
"lint": "npm run lint-eslint && npm run tsc",
"lint-eslint": "eslint --cache --fix --ext .js,.jsx,.ts,.tsx packages/**/src",
Expand Down

0 comments on commit e88caf5

Please sign in to comment.