test: update package.json to snyk in every build

This commit is contained in:
weyusi 2018-10-30 18:37:10 +10:30
parent 486c37845b
commit a6464c1516
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ script:
- npm install # install node modules
- snyk auth $SNYK_TOKEN
- snyk test # Check node modules for vulnerability
- snyk protect # Patch node modules (if available)
- snyk monitor # Update dependencies to snyk
branches:
only: