Skip to content

Commit 1175758

Browse files
committed
Add a step to check typedoc in CI
1 parent 63c0a63 commit 1175758

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/ci_build/github/azure-pipelines/templates/linux-web-init-and-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ steps:
3131
node -e "a=require('child_process').execSync('git diff --name-only').toString();if(a)throw new Error('Following source files are not formatted: (did you run \"npm run format\"?)\n'+a)"
3232
workingDirectory: '$(Build.SourcesDirectory)/js'
3333
displayName: 'Check unformatted files'
34+
- script: |
35+
npx typedoc --emit none --treatWarningsAsErrors
36+
workingDirectory: '$(Build.SourcesDirectory)/js/common'
37+
displayName: 'TypeDoc Validation'
3438
- script: |
3539
npm run build:doc
3640
workingDirectory: '$(Build.SourcesDirectory)/js/web'

0 commit comments

Comments
 (0)