mirror of https://github.com/actions/cache.git
Update workflow.yml
This commit is contained in:
parent
ce9276c90e
commit
5ba1e85d42
|
@ -45,6 +45,15 @@ jobs:
|
|||
run: npm run lint
|
||||
- name: Build & 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
|
||||
test-save:
|
||||
|
|
Loading…
Reference in New Issue