mirror of https://github.com/curbengh/hexo-yam
test: update package.json to snyk in every build
This commit is contained in:
parent
486c37845b
commit
a6464c1516
|
@ -11,6 +11,8 @@ script:
|
||||||
- npm install # install node modules
|
- npm install # install node modules
|
||||||
- snyk auth $SNYK_TOKEN
|
- snyk auth $SNYK_TOKEN
|
||||||
- snyk test # Check node modules for vulnerability
|
- snyk test # Check node modules for vulnerability
|
||||||
|
- snyk protect # Patch node modules (if available)
|
||||||
|
- snyk monitor # Update dependencies to snyk
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Reference in New Issue