Skip to content

Commit 9023ef7

Browse files
committed
Add check for prod deployment
1 parent 13e7bc5 commit 9023ef7

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/deploy-prod.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ jobs:
5252
env:
5353
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5454

55+
- name: Check if @rumblefishdev/ui installed
56+
run: |
57+
if [[ ! -d packages/frontend/node_modules/@rumblefishdev/ui ]]; then
58+
echo "Error: @rumblefishdev/ui not installed"
59+
exit 1
60+
fi
61+
5562
- name: 'Build'
5663
run: |
5764
npm run types:build

.github/workflows/deploy-stage.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@ jobs:
6060
exit 1
6161
fi
6262
63-
- name: ls frontend modules
64-
run: |
65-
ls -ls packages/frontend/node_modules
66-
echo '#########'
67-
ls -ls packages/frontend/node_modules/@rumblefishdev
68-
6963
- name: 'Build'
7064
run: |
7165
npm run types:build

0 commit comments

Comments
 (0)