Gitlab ci test stage with nodemon

I create a block test:
test:
stage: testing
script:
- npm i
- npm start
But it is not ending. In console I got [nodemon] starting … (it is success)
How I should testing?