You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ti...@apache.org on 2020/11/20 11:43:38 UTC
[cordova-paramedic] 01/02: feat: adds Chrome job
This is an automated email from the ASF dual-hosted git repository.
timbru31 pushed a commit to branch feat/gh-actions
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git
commit 2a9168b14c2dc65ddd37a209b7362a40f1d21ec2
Author: Tim Brust <ti...@sinnerschrader.com>
AuthorDate: Fri Nov 20 12:38:47 2020 +0100
feat: adds Chrome job
---
.github/workflows/chrome.yml | 51 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/.github/workflows/chrome.yml b/.github/workflows/chrome.yml
new file mode 100644
index 0000000..1626421
--- /dev/null
+++ b/.github/workflows/chrome.yml
@@ -0,0 +1,51 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Chrome Testsuite
+
+on: [push, pull_request]
+
+jobs:
+ test:
+ name: Chrome latest test
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Install Chrome
+ run: |
+ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
+ echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
+ apt-get update -qq
+ apt-get install -qq --no-install-recommends google-chrome-stable
+
+ - name: Use Node.js 12
+ uses: actions/setup-node@v1
+ with:
+ node-version: 12
+
+ - name: Environment Information
+ run: |
+ node --version
+ npm --version
+
+ - name: npm install and test
+ run: |
+ npm i -g cordova ios-deploy
+ npm ci
+ node main.js --config ./pr/local/browser.json --plugin ./spec/testable-plugin/
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org