Correct workflow instructions

This commit is contained in:
Alex Jurkiewicz
2020-04-17 12:33:37 +10:00
committed by Sven-Hendrik Haase
parent a09c67074f
commit c571424387

View File

@@ -20,6 +20,6 @@ jobs:
# Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed. # Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
run: | run: |
git diff --exit-code --stat -- . ':!node_modules' \ git diff --exit-code --stat -- . ':!node_modules' \
|| (echo "##[error] found changed files after build. please 'npm run build && npm run format'" \ || (echo "##[error] found changed files after build. please 'npm install && npm run build'" \
"and check in all changes" \ "and check in all changes" \
&& exit 1) && exit 1)