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}')"
|
actual="v$(cat package.json | jq -r '.version' | awk -F. '{print $1}')"
|
||||||
if [ $excepted = $actual ]
|
if [ $excepted = $actual ]
|
||||||
then
|
then
|
||||||
|
yarn init || echo -e '\033[0;33mInitialization Not Required\033[0;39m'
|
||||||
yarn test
|
yarn test
|
||||||
else
|
else
|
||||||
echo -e '\033[0;33mTest Aborted\033[0;39m'
|
echo -e '\033[0;33mTest Aborted\033[0;39m'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue