Skip to content

Commit

Permalink
ci: lint declarations (webpack#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Nov 12, 2019
1 parent 69a5d92 commit 7d90529
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ jobs:
displayName: 'Install dependencies'
- script: npm run lint
displayName: 'Run lint'
- script: npm run build:types
displayName: 'Build declarations'
- task: Bash@3
inputs:
targetType: 'inline'
script: 'if [ -n "$(git status declarations --porcelain)" ]; then echo "Missing declarations in git"; exit 1; else echo "All declarations are valid"; fi'
displayName: 'Run lint declarations'
- script: npm run security
displayName: 'Run NPM audit'
- script: ./node_modules/.bin/commitlint-azure-pipelines
Expand Down

0 comments on commit 7d90529

Please sign in to comment.