Browse Source

Fix audit error

mitm001 4 năm trước cách đây
mục cha
commit
2479164493
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      .github/workflows/main.yml

+ 4 - 4
.github/workflows/main.yml

@@ -66,8 +66,8 @@ jobs:
 
 
     # Uncomment when adding or updating dependencies in the package-lock.json
     # Uncomment when adding or updating dependencies in the package-lock.json
     # and package.json files for ci.
     # and package.json files for ci.
-#    - name: Install Node
-#      run: npm i
+    - name: Install Node
+      run: npm update normalize-url --depth 5
 
 
     # Uncomment during initial setup or when updating Antora to a new version.
     # Uncomment during initial setup or when updating Antora to a new version.
     # The action add-and-commit 'add' command will detect the changes and commit
     # The action add-and-commit 'add' command will detect the changes and commit
@@ -82,8 +82,8 @@ jobs:
 #       npm i asciidoctor-emoji
 #       npm i asciidoctor-emoji
 
 
     # Uncomment after package-lock.json and package.json files are updated.
     # Uncomment after package-lock.json and package.json files are updated.
-    - name: Run with CI
-      run: npm ci
+#    - name: Run with CI
+#      run: npm ci
 
 
     - name: Audit Depends
     - name: Audit Depends
       run: npm audit
       run: npm audit