Skip to content

Commit

Permalink
Add CI check to enforce no doc warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hrajchert committed Dec 19, 2023
1 parent d059478 commit 9d68d8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/test-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ jobs:
- name: 🧪 Run tests
run: |
nix develop --show-trace --command bash -c "npm test"
- name: 🏥 Check docs generation
run: |
nix develop --show-trace --command bash -c "npm run docs"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"build": "tsc --version && tsc --build && shx mkdir -p dist && rollup --config rollup/config.mjs",
"clean": "npm run clean --workspaces && shx rm -rf dist",
"test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest",
"docs": "typedoc .",
"docs": "typedoc . --treatWarningsAsErrors",
"serve": "ws --port 1337 --rewrite '/importmap -> https://cdn.jsdelivr.net/gh/input-output-hk/[email protected]/jsdelivr-npm-importmap.js'",
"serve-dev": "ws --port 1337 --rewrite '/importmap -> /dist/local-importmap.js'"
},
Expand Down

0 comments on commit 9d68d8d

Please sign in to comment.