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 <zwl.s...@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-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org