diff options
author | Joas Schilling <coding@schilljs.com> | 2022-09-22 11:30:24 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-09-22 11:30:24 +0300 |
commit | 0eabc6e3995ab5311de1721c32fb02ba1cb4a59b (patch) | |
tree | ce1628883741cedab6b96327578f56c720b18e62 | |
parent | 1527bf4bc77e6500d1ab1c9f4d70481a74013917 (diff) |
Update workflow template
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | .github/workflows/node.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 9150d1f..f51cd4e 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -47,10 +47,11 @@ 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 |