Skip to content

Commit

Permalink
update github workflows to accomodate importing code snippets from a …
Browse files Browse the repository at this point in the history
…gist (as submodule) - relevant for IMU alpha lab and later articles
  • Loading branch information
rennis250 committed Aug 21, 2024
1 parent cc8a873 commit 623274b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/PR-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 623274b

Please sign in to comment.