Skip to content

Commit

Permalink
add CI stage to build without submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
saikrishna321 committed Feb 7, 2024
1 parent 5f439e0 commit 8e18f83
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
- dashboard-module

jobs:
build:
buildWithSubmodule:
name: Build with Submodule
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -22,4 +23,20 @@ jobs:
run: |
# Add your script commands here
npm ci
npm run bundle
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

0 comments on commit 8e18f83

Please sign in to comment.