ci: run lint during ci
This commit is contained in:
parent
83aaa9b546
commit
1414f17490
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user