Skip to content

Commit 219180e

Browse files
committed
Add check if @rumblefishdev/ui is installed
1 parent 8ea18ee commit 219180e

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/deploy-stage.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,18 @@ jobs:
4848
- name: Install dependencies
4949
run: |
5050
npm i
51-
npm install @rumblefishdev/ui
5251
node_modules/.bin/lerna bootstrap
5352
env:
5453
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5554

55+
56+
- name: Check if @rumblefishdev/ui installed
57+
run: |
58+
if [[ ! -d packages/frontend/node_modules/@rumblefishdev/ui ]]; then
59+
echo "Error: @rumblefishdev/ui not installed"
60+
exit 1
61+
fi
62+
5663
- name: ls frontend modules
5764
run: |
5865
ls -ls packages/frontend/node_modules

0 commit comments

Comments
 (0)