Add init before test
This commit is contained in:
parent
62fde0587f
commit
3bdf54164a
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ jobs:
|
|||
actual="v$(cat package.json | jq -r '.version' | awk -F. '{print $1}')"
|
||||
if [ $excepted = $actual ]
|
||||
then
|
||||
yarn init || echo -e '\033[0;33mInitialization Not Required\033[0;39m'
|
||||
yarn test
|
||||
else
|
||||
echo -e '\033[0;33mTest Aborted\033[0;39m'
|
||||
|
|
Loading…
Reference in a new issue