From 1d9da1e76fee8f4d4f538eb2bb4b63a00ad847a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=81ngel=20Campos?= <acampos1916@gmail.com>
Date: Tue, 3 Sep 2024 14:51:59 +0200
Subject: [PATCH] Create npm-audit.yml

---
 .github/workflows/npm-audit.yml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 .github/workflows/npm-audit.yml

diff --git a/.github/workflows/npm-audit.yml b/.github/workflows/npm-audit.yml
new file mode 100644
index 000000000..e1b314e27
--- /dev/null
+++ b/.github/workflows/npm-audit.yml
@@ -0,0 +1,13 @@
+name: NPM Audit
+on:
+  pull_request:
+jobs:
+  audit:
+    name: Audit packages
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v3
+      - name: Audit packages
+        run: npm audit --audit-level moderate
+        env:
+          CI: true