Update workflow.yml

This commit is contained in:
David Hadka 2020-05-08 18:52:10 -04:00 committed by GitHub
parent ce9276c90e
commit 5ba1e85d42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,6 +45,15 @@ jobs:
run: npm run lint run: npm run lint
- name: Build & Test - name: Build & Test
run: npm run test run: npm run test
- name: Ensure dist/ folder is up-to-date
run: |
npm run build
if [ "$(git status --porcelain | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build"
git status
exit 0
fi
# End to end save and restore # End to end save and restore
test-save: test-save: