Skip to content

chore(deps): bump the patch-and-minor group across 1 directory with 4 updates #18

chore(deps): bump the patch-and-minor group across 1 directory with 4 updates

chore(deps): bump the patch-and-minor group across 1 directory with 4 updates #18

name: Security Audit
on:
push:
branches:
- main
pull_request:
branches:
- main
# Allow manual trigger
workflow_dispatch:
jobs:
npm-audit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
# This step is critical for npm audit to work
run: npm ci
- name: Run npm audit
# The `--audit-level=high` flag only fails the check for HIGH or CRITICAL severity vulnerabilities
# Remove the flag to check all levels, or change it to 'critical' to be less strict.
run: npm audit --audit-level=high