Skip to content

Commit 356211b

Browse files
committed
Fail an audit only if the results include a vulnerability with a level of moderate or higher
1 parent 4c53c70 commit 356211b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/CI-time-tracker-ui.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
node-version: '12.x'
2929

3030
- name: Security Audit
31-
run: npm audit
31+
run: npm audit --audit-level=moderate
3232

3333
ci-test:
3434
name: Running unit tests

0 commit comments

Comments
 (0)