You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jd...@apache.org on 2020/07/22 20:20:52 UTC

[qpid-dispatch] branch master updated: DISPATCH-1720 Add GitHub Action to run console tests through npm (#779)

This is an automated email from the ASF dual-hosted git repository.

jdanek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new ae82f18  DISPATCH-1720 Add GitHub Action to run console tests through npm (#779)
ae82f18 is described below

commit ae82f188428fcca868fbff13f48239715f1f743f
Author: Jiri Daněk <jd...@redhat.com>
AuthorDate: Wed Jul 22 22:20:40 2020 +0200

    DISPATCH-1720 Add GitHub Action to run console tests through npm (#779)
---
 .github/workflows/console.yaml | 48 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/.github/workflows/console.yaml b/.github/workflows/console.yaml
new file mode 100644
index 0000000..becb6b4
--- /dev/null
+++ b/.github/workflows/console.yaml
@@ -0,0 +1,48 @@
+#
+# 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.
+#
+
+on: [push, pull_request]
+
+jobs:
+  test:
+    name: Tests
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+
+      - name: Install Dependencies
+        run: cd console/react && npm install
+
+      - name: Run Tests
+        run: cd console/react && npm run test
+
+  eslint:
+    name: ESLint
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+
+      - name: Install Dependencies
+        run: cd console/react && npm install
+
+      - name: Install Typescript
+        run: cd console/react && npm install typescript
+
+      - name: Run ESLint
+        run: cd console/react && npx eslint --max-warnings 0 .


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org