Skip to content

Commit

Permalink
Create npm-audit.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Tea Larson-Hetrick <[email protected]>
  • Loading branch information
temichelle13 authored Aug 11, 2024
1 parent 4761ea0 commit 834d696
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/npm-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: NPM Audit Workflowhttps://github.com/temichelle13/StudyPlanner/tree/master/.github/workflows

on:
push:
paths:
- '**/package-lock.json'
- '**/package.json'
schedule:
- cron: '0 0 * * *'

jobs:
audit:
runs-on: ubuntu-latest

steps:
- name: Checkout code for audit
uses: actions/checkout@v2

- name: Install dependencies
run: npm install

- name: Run NPM Audit
run: npm audit --audit-level=high

0 comments on commit 834d696

Please sign in to comment.