diff --git a/.gitea/workflows/security.yml b/.gitea/workflows/security.yml new file mode 100644 index 0000000..beab61d --- /dev/null +++ b/.gitea/workflows/security.yml @@ -0,0 +1,22 @@ +name: Security + +on: + push: + branches: ["**"] + pull_request: + branches: ["**"] + schedule: + - cron: '0 6 * * 1' + +jobs: + npm-audit: + name: JS Security (npm audit) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Install dependencies + run: npm install + + - name: Run npm audit + run: npm audit --audit-level=high