Skip to content

Commit

Permalink
Add a step to check typedoc in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fs-eire committed Mar 15, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 63c0a63 commit 1175758
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -31,6 +31,10 @@ steps:
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)"
workingDirectory: '$(Build.SourcesDirectory)/js'
displayName: 'Check unformatted files'
- script: |
npx typedoc --emit none --treatWarningsAsErrors
workingDirectory: '$(Build.SourcesDirectory)/js/common'
displayName: 'TypeDoc Validation'
- script: |
npm run build:doc
workingDirectory: '$(Build.SourcesDirectory)/js/web'

0 comments on commit 1175758

Please sign in to comment.