I use ava in combination with Electron and Spectron on macOS to test my app.
So I setup a Gitlab pipeline which executes npm run ava aft
npm run ava