Add uncommited workflow (#17)

This commit is contained in:
CrazyMax
2019-10-20 05:04:25 +02:00
committed by GitHub
parent ad11d1ec00
commit dbf8569adf
2 changed files with 27 additions and 8 deletions
-8
View File
@@ -27,11 +27,3 @@ jobs:
-
name: Test
run: npm run test
-
name: Check for uncommitted changes
# Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
run: |
git diff --exit-code --stat -- . ':!node_modules' \
|| (echo "##[error] found changed files after build. please 'npm run build && npm run format'" \
"and check in all changes" \
&& exit 1)