diff options
-rw-r--r-- | .circleci/config.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 69b0db0..b069ec3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,6 +23,13 @@ commands: else make test-short fi + install_npm: + steps: + - run: + name: Install npm + command: | + curl -sL https://deb.nodesource.com/setup_11.x | sudo bash - + sudo apt-get install -y nodejs executors: go1_11: @@ -96,9 +103,32 @@ jobs: - init_workspace - run: make + snyk: + executor: go1_11 + steps: + - init_workspace + - install_npm + - run: sudo npm install -g snyk + - run: snyk auth $SNYK_APIKEY_JHU + - run: snyk monitor --org=dexon-foundation --project=dexon-consensus + workflows: version: 2.1 + nightly: + jobs: + - dep + - snyk: + requires: + - dep + triggers: + - schedule: + cron: "0 8 * * *" + filters: + branches: + only: + - master + test_and_build: jobs: - dep |