add security step to CI

This commit is contained in:
Philipp Kunz 2018-01-27 02:20:41 +01:00
parent f60f17f91e
commit a91f56dacf
2 changed files with 8 additions and 4 deletions

View File

@ -8,6 +8,7 @@ cache:
stages:
- mirror
- security
- test
- release
- trigger
@ -20,6 +21,12 @@ mirror:
tags:
- docker
security:
stage: security
script:
- npmci command yarn gobal add snyk
- npmci command snyk test
testLEGACY:
stage: test
script:

View File

@ -7,10 +7,7 @@
"scripts": {
"test": "(npmts)",
"testm": "(cd ts/compile && gulp) && (node test.js jazz jam --awesome)",
"devTest": "(npm test) && (node test.js --test true)",
"reinstall": "(rm -r node_modules && npm install)",
"release": "(git pull origin master && npm version patch && git push origin master && git checkout release && git merge master && git push origin release && git checkout master)",
"startdev": "(git checkout master && git pull origin master)"
"security":"snyk test"
},
"repository": {
"type": "git",