diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 9150d1f1..443ed95d 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -47,10 +47,12 @@ jobs: - name: Check webpack build changes run: | - bash -c "[[ ! \"`git status --porcelain `\" ]] || exit 1" + bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets, see the section \"Show changes on failure\" for details' && exit 1)" - name: Show changes on failure if: failure() run: | git status git --no-pager diff + exit 1 # make it red to grab attention +