diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2dfc3c2417..48b0a6797f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/package.json b/package.json index ff350cf759..83d3972214 100644 --- a/package.json +++ b/package.json @@ -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",