Skip to content

Commit

Permalink
chore: add quality gates (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
wayne-grant authored Mar 18, 2024
1 parent c9c0579 commit 24a6fc7
Showing 1 changed file with 31 additions and 5 deletions.
36 changes: 31 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
version: 2.1

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

defaults: &defaults
resource_class: small
docker:
- image: cimg/node:14.19

jobs:
security-scans:
<<: *defaults
steps:
- checkout
- run:
name: Install
command: npm install
- prodsec/security_scans:
mode: auto
iac-scan: disabled
release-branch: master

test:
docker:
- image: cimg/node:14.19
<<: *defaults
working_directory: ~/work
steps:
- checkout
Expand All @@ -19,9 +35,9 @@ jobs:
- run:
name: Test
command: npm test

release:
docker:
- image: cimg/node:14.19
<<: *defaults
working_directory: ~/work
steps:
- checkout
Expand All @@ -45,8 +61,18 @@ workflows:
branches:
ignore:
- master

- security-scans:
name: Security Scans
context:
- team-analysis-arch

- test:
name: Test
requires:
- Scan repository for secrets
- Security Scans

- release:
name: Release
requires:
Expand Down

0 comments on commit 24a6fc7

Please # to comment.