Skip to content

Commit

Permalink
feat: add semgrep job (#300)
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Peake <[email protected]>
  • Loading branch information
svc-secops and peakematt authored Jan 30, 2024
1 parent 4ab3f37 commit bd231f6
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ commands:
- when:
condition: << parameters.node-version >>
steps:
- run: volta pin node@<< parameters.node-version >>
- run: volta pin node@<< parameters.node-version >>
- run: node --version
- run: npm --version
- node/install-packages
@@ -37,7 +37,7 @@ jobs:
node-version:
type: string
docker:
- image: cimg/base:stable
- image: cimg/base:stable
steps:
- setup-node:
node-version: <<parameters.node-version>>
@@ -47,21 +47,21 @@ jobs:

Prettier:
docker:
- image: cimg/base:stable
- image: cimg/base:stable
steps:
- setup-node
- run: npm run prettier-check

Lint:
docker:
- image: cimg/base:stable
- image: cimg/base:stable
steps:
- setup-node
- run: npm run lint

Spell Check:
docker:
- image: cimg/base:stable
- image: cimg/base:stable
steps:
- setup-node
- run: npm run spell-check
@@ -73,7 +73,7 @@ jobs:
# themselves.
Changesets:
docker:
- image: cimg/base:stable
- image: cimg/base:stable
steps:
- run: echo Ensure there is at least one step
- unless:
@@ -109,4 +109,9 @@ workflows:
- github-orb
- secops-oidc
git-base-revision: <<#pipeline.git.base_revision>><<pipeline.git.base_revision>><</pipeline.git.base_revision >>
git-revision: << pipeline.git.revision >>
git-revision: << pipeline.git.revision >>
- secops/semgrep:
context:
- secops-oidc
- github-orb
git-base-revision: <<#pipeline.git.base_revision>><<pipeline.git.base_revision>><</pipeline.git.base_revision >>

0 comments on commit bd231f6

Please sign in to comment.