Skip to content

Commit 6452ca0

Browse files
authored
[Spike] The build should fail on CVEs
1 parent ce2d4bd commit 6452ca0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ServicePulse.Host/build.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ if (Test-Path $AppOutputFolder) {
99
New-Item -ItemType Directory -Force -Path $AppOutputFolder
1010

1111
Push-Location $FrontendSourceFolder
12+
npm audit --audit-level=info
1213
npm install
1314
npm run build
1415
Remove-Item -Path "./dist/mockServiceWorker.js"
@@ -18,4 +19,4 @@ Copy-Item -path $FrontendSourceFolder/dist/* -Destination $AppOutputFolder -Recu
1819

1920
if ( $? -eq $false ) {
2021
exit $LastExitCode
21-
}
22+
}

0 commit comments

Comments
 (0)