Gitlab-CI using Panther and Symfony 4

I tried to test my Symfony 4.1 app using gitlab-ci. Basically, when we Test PHP application we require php-cli docker image to execute composer install, phpunit.But in this case I have a node packages to install, a React App in the front to test and a Rest API to test with my React Application.