Skip to content

Commit

Permalink
feat(repo): add npm audit report on ci
Browse files Browse the repository at this point in the history
It will fail only if critical vulnerabilities are found.
  • Loading branch information
bekos authored and vsavkin committed Feb 22, 2021
1 parent aa311fa commit 9275d1c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/npm-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: NPM Audit

on:
schedule:
- cron: "0 0 * * *"

jobs:
audit:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Run a security audit
run: npx audit-ci --critical --report-type summary

0 comments on commit 9275d1c

Please sign in to comment.