Skip to content

Commit 1dd3b42

Browse files
committed
feat(ci): add audit job for security
1 parent 2850847 commit 1dd3b42

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ jobs:
2626
uses: ./ci/images/debian10
2727
with:
2828
args: ./ci/steps/lint.sh
29+
audit:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v2
33+
- name: Audit for vulnerabilities
34+
# Prevents integration with moderate or higher vulnerabilities
35+
# Docs: https://github.com/IBM/audit-ci#options
36+
run: npx audit-ci --moderate
2937

3038
test-unit:
3139
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)