diff --git a/.github/workflows/PR-checks.yml b/.github/workflows/PR-checks.yml index ec237fd3e..bab62093d 100644 --- a/.github/workflows/PR-checks.yml +++ b/.github/workflows/PR-checks.yml @@ -27,9 +27,10 @@ jobs: working-directory: ./${{ matrix.component }} run: npm install - - name: Copy node_modules + - name: Copy node_modules & init submodules shell: bash run: | + git submodule update --init --recursive cp -r ${{ matrix.component }}/node_modules . ls -la diff --git a/.github/workflows/build-deploy-production.yml b/.github/workflows/build-deploy-production.yml index 682612ab0..17aa6638a 100644 --- a/.github/workflows/build-deploy-production.yml +++ b/.github/workflows/build-deploy-production.yml @@ -122,9 +122,10 @@ jobs: run: npm install # Copy node modules to provide dependencies for shared components in root folder - - name: Copy node_modules + - name: Copy node_modules & init submodules shell: bash run: | + git submodule update --init --recursive cp -r alpha-lab/node_modules . ls -la diff --git a/.github/workflows/build-deploy-staging.yml b/.github/workflows/build-deploy-staging.yml index 92b61a2bf..4d425cee1 100644 --- a/.github/workflows/build-deploy-staging.yml +++ b/.github/workflows/build-deploy-staging.yml @@ -120,9 +120,10 @@ jobs: run: npm install # Copy node modules to provide dependencies for shared components in root folder - - name: Copy node_modules + - name: Copy node_modules & init submodules shell: bash run: | + git submodule update --init --recursive cp -r alpha-lab/node_modules . ls -la diff --git a/.github/workflows/build-only.yml b/.github/workflows/build-only.yml index cab837c5e..449e4244e 100644 --- a/.github/workflows/build-only.yml +++ b/.github/workflows/build-only.yml @@ -120,9 +120,10 @@ jobs: run: npm install # Copy node modules to provide dependencies for shared components in root folder - - name: Copy node_modules + - name: Copy node_modules & init submodules shell: bash run: | + git submodule update --init --recursive cp -r alpha-lab/node_modules . ls -la