Skip to content

Commit

Permalink
Merge pull request #24 from snyk/feat/quality-gates
Browse files Browse the repository at this point in the history
feat: add prodsec/security_scans
  • Loading branch information
wayne-grant authored Jun 5, 2024
2 parents bbed926 + b0b6a13 commit 3127cca
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

orbs:
prodsec: snyk/prodsec-orb@1.0
prodsec: snyk/prodsec-orb@1

executors:
docker-node:
Expand Down Expand Up @@ -40,6 +40,19 @@ commands:
command: npm run lint

jobs:
security-scans:
resource_class: small
docker:
- image: cimg/node:lts
steps:
- checkout
- install
- prodsec/security_scans:
mode: auto
release-branch: master
open-source-additional-arguments: --exclude=test
iac-scan: disabled

test:
resource_class: small
parameters:
Expand All @@ -60,7 +73,7 @@ jobs:
- test
- when:
condition:
not:
not:
equal: ["8.17.0", << parameters.version >>]
steps:
- test-coverage
Expand Down Expand Up @@ -96,6 +109,15 @@ workflows:
branches:
ignore:
- master

- security-scans:
name: Security Scans
context: open_source-managed
filters:
branches:
ignore:
- master

- lint:
filters:
branches:
Expand All @@ -117,6 +139,14 @@ workflows:
- master
release:
jobs:
- security-scans:
name: Security Scans
context: open_source-managed
filters:
branches:
only:
- master

- release:
context: nodejs-lib-release
filters:
Expand Down

0 comments on commit 3127cca

Please sign in to comment.