chore: document branch workflow and security checks
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
name: API dependency and security checks
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
audit:
|
||||||
|
runs-on: debian-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Audit JavaScript dependencies when a lockfile exists
|
||||||
|
run: |
|
||||||
|
if test -f package-lock.json; then
|
||||||
|
npm audit --audit-level=high
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user