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/08/11 11:14:35 UTC

[apisix-dashboard] branch master updated: Create ci.yml (#372)

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 510225f  Create ci.yml (#372)
510225f is described below

commit 510225f72f631a0feeae72a7ccbf6bc26a36ade1
Author: Rapiz <co...@rapiz.me>
AuthorDate: Tue Aug 11 19:14:26 2020 +0800

    Create ci.yml (#372)
---
 .github/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..138d78b
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,32 @@
+# This is a basic test to build the dashboard
+
+name: CI
+
+# Controls when the action will run. Triggers the workflow on push or pull request
+# events but only for the master branch
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
+jobs:
+  # This workflow contains a single job called "build"
+  build:
+    # The type of runner that the job will run on
+    runs-on: ubuntu-latest
+
+    # 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
+  
+    # Install packages
+    - name: Install packages
+      run: yarn
+
+    # Build the dashboard
+    - name: Build the application
+      run: yarn build