CI: Test type definitions

Also, fix a typo in the typings.
This commit is contained in:
Daniel Huigens
2021-03-27 11:27:17 +01:00
parent e1fc91958c
commit eb496d2018
3 changed files with 23 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
name: Types
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
lint:
name: Test type definitions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '15'
- run: npm ci
- run: npm run test-type-definitions