You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dp...@apache.org on 2019/08/13 00:39:58 UTC
[cordova-common] 01/01: Test using GitHub workflows for CI
This is an automated email from the ASF dual-hosted git repository.
dpogue pushed a commit to branch ci-workflow
in repository https://gitbox.apache.org/repos/asf/cordova-common.git
commit a400473a35ddf33505fc2cc1859db82a173f5c31
Author: Darryl Pogue <da...@dpogue.ca>
AuthorDate: Thu Aug 8 23:37:40 2019 -0700
Test using GitHub workflows for CI
---
.github/workflows/ci.yml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..be6a7ec
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,26 @@
+name: Continuous Integration
+
+on: [push, pull_request]
+
+jobs:
+ test:
+ name: Test on ${{ matrix.os }} with node ${{ matrix.node_version }}
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ node_version: [6, 8, 10, 12]
+ os: [ubuntu-latest, windows-latest, macos-latest]
+
+ steps:
+ - uses: actions/checkout@v1
+
+ - name: Use Node.js ${{ matrix.node_version }}
+ uses: actions/setup-node@v1
+ with:
+ version: ${{ matrix.node_version }}
+
+ - name: npm install and test
+ runs: |
+ npm install
+ npm test
+ npm run cover
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org