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 2020/06/23 02:29:21 UTC
[incubator-echarts] 01/01: core(ci): only run unit test on master
or release branch
This is an automated email from the ASF dual-hosted git repository.
ovilia pushed a commit to branch ci
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit eceee1b245005bb8d0a34e6b3abe5a2c53c23cda
Author: Ovilia <zw...@gmail.com>
AuthorDate: Mon Jun 22 18:06:49 2020 +0800
core(ci): only run unit test on master or release branch
---
.github/workflows/nodejs.yml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml
index 0834a8f..5c03dfa 100644
--- a/.github/workflows/nodejs.yml
+++ b/.github/workflows/nodejs.yml
@@ -36,6 +36,14 @@ jobs:
npm run release
env:
CI: true
+
+ test:
+ runs-on: ubuntu-latest
+ needs: build
+
+ if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release'
+
+ steps:
- name: unit test
run: |
npm run test
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org