Run lint as part of test script
This commit is contained in:
parent
61c5325f78
commit
a64f0c7fc7
|
@ -20,7 +20,8 @@
|
|||
"lint": "php-cs-fixer fix",
|
||||
"prod": "composer run-script generate -- --env prod",
|
||||
"test": [
|
||||
"composer run test:unit"
|
||||
"composer run test:unit",
|
||||
"composer run lint"
|
||||
],
|
||||
"test:unit": "phpunit",
|
||||
"watch": "composer run-script --timeout=0 generate -- --server --watch"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[build]
|
||||
command = """
|
||||
composer lint
|
||||
composer test
|
||||
composer prod
|
||||
yarn prod
|
||||
|
|
Loading…
Reference in a new issue