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

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git

commit 5ab69a4a0ece3ccdffc478e4301c9c975c6e6508
Author: Marcus Christie <[email protected]>
AuthorDate: Tue Apr 11 11:09:00 2023 -0400

    AIRAVATA-3693 Add windows JS build to action
---
 .github/workflows/build-and-test.yaml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/.github/workflows/build-and-test.yaml 
b/.github/workflows/build-and-test.yaml
index bc1950d9..822f7bfb 100644
--- a/.github/workflows/build-and-test.yaml
+++ b/.github/workflows/build-and-test.yaml
@@ -53,6 +53,20 @@ jobs:
             django_airavata/apps/workspace/static/django_airavata_workspace/wc
             
django_airavata/apps/dataparsers/static/django_airavata_dataparsers/dist
 
+  build-js-windows:
+    runs-on: windows-latest
+    steps:
+      - uses: actions/checkout@v3
+      - name: Use Node.js as specified in .nvmrc
+        uses: actions/setup-node@v3
+        with:
+          node-version-file: '.nvmrc'
+          cache: 'yarn'
+          cache-dependency-path: '**/yarn.lock'
+      - name: Build JavaScript code
+        run: |
+          build_js.bat
+
   build:
     # ubuntu-22 doesn't support Python 3.6
     runs-on: ubuntu-20.04

Reply via email to