2019-08-06 02:08:42 +00:00
|
|
|
dist: bionic
|
|
|
|
sudo: false
|
|
|
|
|
2018-09-27 06:46:45 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2019-08-06 02:04:14 +00:00
|
|
|
- "node"
|
2018-09-27 06:46:45 +00:00
|
|
|
|
|
|
|
cache:
|
2019-08-06 02:05:14 +00:00
|
|
|
npm: true
|
2018-09-27 06:46:45 +00:00
|
|
|
|
|
|
|
script:
|
2019-08-06 02:04:14 +00:00
|
|
|
- npm install snyk
|
2018-09-27 06:46:45 +00:00
|
|
|
- snyk auth $SNYK_TOKEN
|
2018-09-28 02:24:17 +00:00
|
|
|
- snyk test # Check node modules for vulnerability
|
2018-10-30 08:07:10 +00:00
|
|
|
- snyk protect # Patch node modules (if available)
|
|
|
|
- snyk monitor # Update dependencies to snyk
|
2018-10-15 04:22:13 +00:00
|
|
|
|
2019-08-06 02:14:18 +00:00
|
|
|
- npm install standard
|
|
|
|
- standard
|
|
|
|
|
2018-10-15 04:22:13 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master # Only build master branch
|
2018-10-25 05:39:01 +00:00
|
|
|
- /^greenkeeper.*$/ # Greenkeeper branches
|