🛠 Always build before test, test before ship
- Make sure we update our build files before running tests - This also ensures they get updated before shipping
This commit is contained in:
parent
371ad586d3
commit
018423738e
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
||||||
"dev": "gulp",
|
"dev": "gulp",
|
||||||
"zip": "gulp zip",
|
"zip": "gulp zip",
|
||||||
"test": "gscan .",
|
"test": "gscan .",
|
||||||
|
"pretest": "gulp build",
|
||||||
"preship": "yarn test",
|
"preship": "yarn test",
|
||||||
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version && git push --follow-tags; fi"
|
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version && git push --follow-tags; fi"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue