ci: generate & check doc

This commit is contained in:
fryorcraken.eth 2022-08-25 15:50:46 +10:00
parent 987eab5f8f
commit 3eb9c80041
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ jobs:
- run: npm run test:prettier
- run: npm run test:spelling
- run: npm run test:tsc
- run: npm run doc:html
build:
runs-on: ubuntu-latest

View File

@ -71,7 +71,7 @@
"watch:build": "tsc -p tsconfig.json -w",
"watch:test": "mocha --watch",
"doc": "run-s doc:*",
"doc:html": "typedoc",
"doc:html": "typedoc --treatWarningsAsErrors",
"doc:cname": "echo 'js-waku.wakuconnect.dev' > build/docs/CNAME",
"doc:examples": "mkdir -p build/docs/examples",
"prepublish": "npm run build",