mirror of https://github.com/curbengh/hexo-yam
chore(travis): remove comment and npm install
This commit is contained in:
parent
4923f5c39d
commit
493683644a
|
@ -1,14 +1,13 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "node" # latest stable Node.js release
|
- "node"
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- "node_modules" # cache the modules for faster build
|
- "node_modules"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm install -g snyk
|
- npm install snyk
|
||||||
- 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 protect # Patch node modules (if available)
|
||||||
|
|
Loading…
Reference in New Issue