3939
4040 - name : Run Build workspaces
4141 run : |
42- npm run build:ws
42+ npm run build:ws
4343
4444 - name : Require Build in PR
4545 run : |
@@ -53,28 +53,29 @@ jobs:
5353 echo "$STATUS"
5454 exit 1
5555 fi
56+
5657 require-build-workspaces :
57- name : Require Build in PR
58- runs-on : ubuntu-latest
59- steps :
60- - name : Checkout source code
61- uses : actions/checkout@v4
62-
63- - name : install deps
64- run : npm install --workspaces
65-
66- - name : Run Build workspaces
67- run : npm run build:ws
68-
69- - name : Require Build in PR
70- run : |
71- STATUS=$(git status --porcelain)
72-
73- # Check if the status is not empty
74- if [ ! -z "$STATUS" ]; then
75- echo "Please build and commit your changes locally before submitting a PR."
76- echo "------"
77- echo "Uncommitted changes:"
78- echo "$STATUS"
79- exit 1
80- fi
58+ name : Require Build in PR
59+ runs-on : ubuntu-latest
60+ steps :
61+ - name : Checkout source code
62+ uses : actions/checkout@v4
63+
64+ - name : install deps
65+ run : npm install --workspaces
66+
67+ - name : Run Build workspaces
68+ run : npm run build:ws
69+
70+ - name : Require Build in PR
71+ run : |
72+ STATUS=$(git status --porcelain)
73+
74+ # Check if the status is not empty
75+ if [ ! -z "$STATUS" ]; then
76+ echo "Please build and commit your changes locally before submitting a PR."
77+ echo "------"
78+ echo "Uncommitted changes:"
79+ echo "$STATUS"
80+ exit 1
81+ fi
0 commit comments