Skip to content

Commit

Permalink
Add dependency check task to test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
the-nathan-smith committed Aug 9, 2023
1 parent 25ba887 commit 55534e2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,20 @@ jobs:
- run: npm ci
- run: npm run lint
- run: npm test
- name: Depcheck
uses: dependency-check/Dependency-Check_Action@main
id: Depcheck
with:
project: 'user-feedback-store'
path: '.'
format: 'HTML'
out: 'reports'
args: >
--failOnCVSS 7
--nodePackageSkipDevDependencies
--nodeAuditSkipDevDependencies
- name: Upload OWAPS results
uses: actions/upload-artifact@master
with:
name: Depcheck report
path: ${{github.workspace}}/reports

0 comments on commit 55534e2

Please sign in to comment.