xiaoxian521 преди 3 години
родител
ревизия
880dd3cdba
променени са 1 файла, в които са добавени 11 реда и са изтрити 7 реда
  1. 11 7
      .github/workflows/linter.yml

+ 11 - 7
.github/workflows/linter.yml

@@ -4,7 +4,7 @@
 ## Super Linter GitHub Actions ##
 #################################
 #################################
-name: Lint Code
+name: Lint Code Base
 
 #
 # Documentation:
@@ -27,7 +27,7 @@ on:
 jobs:
   build:
     # Name the Job
-    name: Lint Code
+    name: Lint Code Base
     # Set the agent to run on
     runs-on: ubuntu-latest
 
@@ -36,10 +36,14 @@ jobs:
     ##################
     steps:
       ##########################
-      #   Checkout the code    #
+      # Checkout the code base #
       ##########################
-      - name: Lint
+      - name: Build
+        env:
+          VALIDATE_ALL_CODEBASE: false
+          DEFAULT_BRANCH: main
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         run: |
-          yarn install
-          yarn lint
-          yarn run build
+          npm run install
+          npm run lint
+          npm run build