Skip to content

Commit

Permalink
Audit npm shrinkwrap as well
Browse files Browse the repository at this point in the history
  • Loading branch information
code-asher committed Sep 21, 2023
1 parent 2c87baf commit 2a9df5a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,14 @@ jobs:
if: steps.cache-yarn.outputs.cache-hit != 'true'
run: SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile

- name: Audit for vulnerabilities
- name: Audit yarn for vulnerabilities
run: yarn _audit
if: success()

- name: Audit npm for vulnerabilities
run: npm shrinkwrap && npm audit
if: success()

trivy-scan-repo:
name: Scan repo with Trivy
permissions:
Expand Down

0 comments on commit 2a9df5a

Please sign in to comment.