CI: Check that JSDoc comments are valid (#1328)

Also, fix a JSDoc comment.
This commit is contained in:
Daniel Huigens
2021-06-14 11:15:37 +02:00
committed by GitHub
parent 1484df9b8f
commit df2240ba08
2 changed files with 20 additions and 1 deletions

19
.github/workflows/docs.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Documentation
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
lint:
name: JSDoc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: npm ci
- run: npm run docs