File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 3434 echo "Checking commit: $commit"
3535 echo "Message: $message"
3636
37- if echo "$message" | grep -E "^[^(]+\((admin|config )\):" > /dev/null; then
37+ if echo "$message" | grep -E "^[^(]+\((admin)\):" > /dev/null; then
3838 should_run=true
3939 break
4040 fi
6868 run : npm run test:admin -- --watch=false --browsers=ChromeHeadless
6969
7070 - name : Build admin project
71- run : ng build admin --configuration=production
71+ run : npm run build: admin --configuration=production
7272
7373 - name : Deploy to Firebase Preview (PR)
7474 if : github.event_name == 'pull_request'
Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ jobs:
2222 message=$(git log --format=%B -n 1 ${{ github.sha }})
2323 echo "Checking commit: ${{ github.sha }}"
2424 echo "Message: $message"
25-
25+
2626 should_run=false
27- if echo "$message" | grep -E "^[^(]+\((web|config )\):" > /dev/null; then
27+ if echo "$message" | grep -E "^[^(]+\((web)\):" > /dev/null; then
2828 should_run=true
2929 fi
30-
30+
3131 echo "should-run=$should_run" >> $GITHUB_OUTPUT
3232 echo "Web workflow should run: $should_run"
3333 test :
Original file line number Diff line number Diff line change 66 "start" : " ng serve web" ,
77 "build" : " ng build web" ,
88 "build:all" : " ng build shared && ng build web && ng build admin && ng build code-samples-mfe" ,
9+ "build:admin" : " ng build admin" ,
910 "watch" : " ng build --watch --configuration development" ,
1011 "test" : " ng test web" ,
1112 "test:admin" : " ng test admin" ,
You can’t perform that action at this time.
0 commit comments