Skip to content

Commit

Permalink
create npm audit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianjost committed Mar 4, 2020
1 parent 4816642 commit b4a385a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Security Audit

on: [push]

jobs:
npmaudit:
runs-on: ubuntu-latest
name: "npm audit"
steps:
- uses: actions/checkout@v1
- name: npm audit prod
run: npm audit --only=prod --audit-level=low
- name: npm audit dev
run: npm audit --only=dev --audit-level=moderate

0 comments on commit b4a385a

Please sign in to comment.