diff --git a/.gitea/workflows/security.yaml b/.gitea/workflows/security.yaml new file mode 100644 index 0000000..3dfb8d3 --- /dev/null +++ b/.gitea/workflows/security.yaml @@ -0,0 +1,16 @@ +name: Client 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