Skip to content

Commit

Permalink
feat: snyk pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
DevRico003 committed Feb 28, 2024
1 parent 3514618 commit 054502d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
# run: npm test

- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/[email protected]
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --severity-threshold=high
fail-on-issues: true
token: ${{ secrets.SNYK_TOKEN }}

- name: Send failure notification
if: failure()
Expand Down

0 comments on commit 054502d

Please sign in to comment.