diff options
author | Joas Schilling <coding@schilljs.com> | 2022-09-22 11:20:05 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-09-22 11:20:05 +0300 |
commit | df2576010de6590cf27d7acbb1eb05f6980b2b51 (patch) | |
tree | 1c6fc9817df4f796decb8f58427cc252f442dc0e /.github | |
parent | 584dc389e56e3239a17abe3722fc4be9f3dccc56 (diff) |
Update workflow template
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.github')
-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 |