Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4 from Financial-Times/add-snyk
Browse files Browse the repository at this point in the history
add snyk config to circle.yml
  • Loading branch information
cebirmingham authored Nov 25, 2019
2 parents 815a729 + e46ba8f commit cf74109
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
version: 2.1

orbs:
ft-snyk-orb: financial-times/ft-snyk-orb@0

executors:
node:
docker:
Expand Down Expand Up @@ -75,6 +78,12 @@ workflows:
- install
filters:
<<: *only_version_tags
#Scan package.json for vulnerable dependencies while developing
- ft-snyk-orb/scan-js-packages:
context: rel-eng-creds
requires:
- install
filters: *only_version_tags
- release:
context: rel-eng-creds
requires:
Expand All @@ -83,4 +92,14 @@ workflows:
<<: *only_version_tags
branches:
ignore: /.*/
#Scan and monitor vulnerabilities once in production
- ft-snyk-orb/scan-and-monitor-js-packages:
name: snyk-scan-and-monitor
context: rel-eng-creds
requires:
- release
filters:
<<: *only_version_tags
branches:
ignore: /.*/

0 comments on commit cf74109

Please sign in to comment.