chore(travis): remove comment and npm install

This commit is contained in:
curbengh 2019-08-06 11:34:14 +09:30
parent 4923f5c39d
commit 493683644a
1 changed files with 3 additions and 4 deletions

View File

@ -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)