mirror of https://github.com/wallabag/wallabag.git
Make assets build fail if changes are detected
This commit is contained in:
parent
c29ad30b56
commit
a03a49294a
|
@ -30,3 +30,13 @@ jobs:
|
||||||
|
|
||||||
- name: "Build prod assets"
|
- name: "Build prod assets"
|
||||||
run: "yarn run build:prod"
|
run: "yarn run build:prod"
|
||||||
|
|
||||||
|
- name: "Validate no change were created"
|
||||||
|
run: |
|
||||||
|
GITDIFF=`git diff`
|
||||||
|
if [ "$GITDIFF" == "" ]; then
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
echo $GITDIFF
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue