Open debjitbis08 opened 4 years ago
There are in fact various flags that need to be passed into electron in various different scenarios (CI, docker, wsl, etc.). The way that other systems, like cypress for example, have handled this is by including and extra variable like ELECTRON_EXTRA_LAUNCH_ARGS
where we can define any number of arguments. There should be something similar that allows adding any arbitrary flags.
Configurations
jest.config.js
.gitlab-ci.yml
package.json
Docker image used:
node:latest
Output
To solve this I probably need to pass the
--disable-gpu
flag to electron, but I can't find a way to do it currently. Also, I have read elsewhere that running electron on Gitlab requires the--disable-dev-shm-usage
flag but I don't think there is way to pass that parameter currently.