You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by hy...@apache.org on 2019/09/27 07:36:20 UTC

[dubbo-website] branch master updated: Enable github action for CI build

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

hyunkun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 14ff2f1  Enable github action for CI build
14ff2f1 is described below

commit 14ff2f111c8877207bc19cdd17601998166ad2b3
Author: Huang YunKun <ht...@gmail.com>
AuthorDate: Fri Sep 27 15:36:14 2019 +0800

    Enable github action for CI build
---
 .github/workflows/CI.yml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
new file mode 100644
index 0000000..de4b98f
--- /dev/null
+++ b/.github/workflows/CI.yml
@@ -0,0 +1,25 @@
+name: CI
+
+on: [push,pull_request]
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    strategy:
+      matrix:
+        node-version: [8.x]
+
+    steps:
+    - uses: actions/checkout@v1
+    - name: Use Node.js ${{ matrix.node-version }}
+      uses: actions/setup-node@v1
+      with:
+        node-version: ${{ matrix.node-version }}
+    - name: npm install and build
+      run: |
+        npm install
+        npm run build --if-present
+      env:
+        CI: true