This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new d6ba6cc  ci: Add lint (#455)
d6ba6cc is described below

commit d6ba6ccdd8d9e7d287ab462ddfd33d42c7892df9
Author: Rapiz <cont...@rapiz.me>
AuthorDate: Thu Sep 10 23:07:59 2020 +0800

    ci: Add lint (#455)
    
    Co-authored-by: Rapiz <c...@rapiz.me>
---
 .github/workflows/multiple-node-build.yml | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/multiple-node-build.yml 
b/.github/workflows/multiple-node-build.yml
index 00dafb9..ad6c2bc 100644
--- a/.github/workflows/multiple-node-build.yml
+++ b/.github/workflows/multiple-node-build.yml
@@ -23,16 +23,19 @@ jobs:
 
     # Steps represent a sequence of tasks that will be executed as part of the 
job
     steps:
-    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can 
access it
-    - uses: actions/checkout@v2
-    - name: Use Node.js ${{ matrix.node-version }}
-      uses: actions/setup-node@v1
-      with:
-        node-version: ${{ matrix.node-version }}
-  
-    # Install dependencies
-    - name: Install dependencies
-      run: yarn
-
-    - name: Build the Dashboard
-      run: yarn build
+      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can 
access it
+      - uses: actions/checkout@v2
+      - name: Use Node.js ${{ matrix.node-version }}
+        uses: actions/setup-node@v1
+        with:
+          node-version: ${{ matrix.node-version }}
+
+      # Install dependencies
+      - name: Install dependencies
+        run: yarn
+
+      - name: Build the Dashboard
+        run: yarn build
+
+      - name: Lint
+        run: yarn run lint:js && yarn run lint:style

Reply via email to