Skip to content

Commit

Permalink
Add build vulnerability scan (#317)
Browse files Browse the repository at this point in the history
* run vulnerability scan + testing

* revert npm audit test

---------

Co-authored-by: Victoria Hall <[email protected]>
  • Loading branch information
hallvictoria and Victoria Hall authored Dec 18, 2024
1 parent 4b36578 commit cc3613c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions azure-pipelines/templates/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
displayName: 'Install Node.js'
- script: npm ci
displayName: 'npm ci'
- script: npm audit --production
displayName: 'Run vulnerability scan'
- script: npm run updateVersion -- --buildNumber $(Build.BuildNumber)
displayName: 'npm run updateVersion'
condition: and(succeeded(), eq(${{ parameters.IsPrerelease }}, true))
Expand Down

0 comments on commit cc3613c

Please sign in to comment.