You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2019/09/23 08:12:31 UTC
[incubator-echarts-doc] branch master updated: ci: add github
action support
This is an automated email from the ASF dual-hosted git repository.
ovilia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git
The following commit(s) were added to refs/heads/master by this push:
new 88bd813 ci: add github action support
88bd813 is described below
commit 88bd8133f9321bdf7acb2b6e5437d0e692411be9
Author: Ovilia <zw...@gmail.com>
AuthorDate: Mon Sep 23 16:12:27 2019 +0800
ci: add github action support
---
.github/workflows/nodejs.yml | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml
new file mode 100644
index 0000000..b49d0bb
--- /dev/null
+++ b/.github/workflows/nodejs.yml
@@ -0,0 +1,25 @@
+name: Node CI
+
+on: [push]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [8.x, 10.x, 12.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, build, and test
+ run: |
+ npm install
+ node build.js dev
+ env:
+ CI: true
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org