You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/09/03 10:38:32 UTC

[apisix-dashboard] branch juzhiyuan-patch-1 created (now f848342)

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

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


      at f848342  feat: added multiple node builds action

This branch includes the following new commits:

     new f848342  feat: added multiple node builds action

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[apisix-dashboard] 01/01: feat: added multiple node builds action

Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit f8483427dc603bac4605c01b23014282b0bf906e
Author: 琚致远 <ju...@apache.org>
AuthorDate: Thu Sep 3 18:38:24 2020 +0800

    feat: added multiple node builds action
---
 .github/workflows/{ci.yml => multiple-node-build.yml} | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/multiple-node-build.yml
similarity index 68%
rename from .github/workflows/ci.yml
rename to .github/workflows/multiple-node-build.yml
index 138d78b..00dafb9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/multiple-node-build.yml
@@ -1,6 +1,6 @@
 # This is a basic test to build the dashboard
 
-name: CI
+name: multiple-node-build
 
 # Controls when the action will run. Triggers the workflow on push or pull request
 # events but only for the master branch
@@ -17,16 +17,22 @@ jobs:
     # The type of runner that the job will run on
     runs-on: ubuntu-latest
 
+    strategy:
+      matrix:
+        node-version: [10.x, 12.x, 14.x]
+
     # 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
-    - uses: actions/setup-node@v2.1.1
+    - name: Use Node.js ${{ matrix.node-version }}
+      uses: actions/setup-node@v1
+      with:
+        node-version: ${{ matrix.node-version }}
   
-    # Install packages
-    - name: Install packages
+    # Install dependencies
+    - name: Install dependencies
       run: yarn
 
-    # Build the dashboard
-    - name: Build the application
+    - name: Build the Dashboard
       run: yarn build