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

agrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-ballista.git


The following commit(s) were added to refs/heads/master by this push:
     new 46854587 Also run yarn build to catch JavaScript errors in CI (#271)
46854587 is described below

commit 468545877a0e1e7b4b0b4d0b56ebc29b72dadf37
Author: Brent Gardner <[email protected]>
AuthorDate: Wed Sep 28 18:22:41 2022 -0700

    Also run yarn build to catch JavaScript errors in CI (#271)
---
 .github/workflows/typescript.yml | 41 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml
new file mode 100644
index 00000000..e5e4ec59
--- /dev/null
+++ b/.github/workflows/typescript.yml
@@ -0,0 +1,41 @@
+# 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: TypeScript Release Build
+
+on:
+  # always trigger
+  push:
+  pull_request:
+
+jobs:
+  yarn-build:
+    name: Yarn build
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: Install dependencies
+        run: |
+          sudo apt-get update
+          sudo apt-get install -y nodejs npm
+          npm install -g yarn
+
+      - name: Run yarn build
+        run: |
+          cd ballista/ui/scheduler
+          yarn install
+          CI=false yarn build # TODO: fix warnings then remove CI=false

Reply via email to