Skip to content

Commit

Permalink
creating artifacts folder to store audit info
Browse files Browse the repository at this point in the history
  • Loading branch information
vamsee committed Jul 18, 2019
1 parent 7480d2d commit 08afcdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ npminstall:
- time npm install --no-optional
- echo "Node Modules Installed"
- npm config delete registry
- mkdir -p ./artifacts/${CI_PROJECT_NAME}/
- npm audit --json > ./artifacts/${CI_PROJECT_NAME}/vulnerabilities.json || true
- if npm audit; then status_vulnerabilities=0; else status_vulnerabilities=1; fi
- if [ $status_vulnerabilities == 1 ]; then echo "Dependency vulnerabilities exist"; fi
Expand Down

0 comments on commit 08afcdc

Please sign in to comment.