ci: run lint during ci

This commit is contained in:
Evan You 2022-05-10 10:47:32 +08:00
parent 83aaa9b546
commit 1414f17490

View File

@ -28,7 +28,7 @@ jobs:
- name: Run unit tests - name: Run unit tests
run: pnpm run test run: pnpm run test
test-dts: lint-and-test-dts:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -46,6 +46,9 @@ jobs:
- run: pnpm install - run: pnpm install
- name: Run eslint
run: pnpm run lint
- name: Run type declaration tests - name: Run type declaration tests
run: pnpm run test-dts run: pnpm run test-dts