From 8e18f837e7b598fb3080de0c73492df913640945 Mon Sep 17 00:00:00 2001 From: saikrishna321 Date: Wed, 7 Feb 2024 11:16:05 +0800 Subject: [PATCH] add CI stage to build without submodule --- .github/workflows/test.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 13b1e6834..9bb95a0e4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,8 @@ on: - dashboard-module jobs: - build: + buildWithSubmodule: + name: Build with Submodule runs-on: ubuntu-latest strategy: matrix: @@ -22,4 +23,20 @@ jobs: run: | # Add your script commands here npm ci - npm run bundle \ No newline at end of file + npm run bundle + + buildWithOutSubmodule: + name: Build with Out Submodule + runs-on: ubuntu-latest + strategy: + matrix: + node: [18, 20] + + steps: + - name: Checkout repository with submodules + uses: actions/checkout@v3 + - name: Run script + run: | + npm ci + npm run bundle +