find cypress running in ci or open mode code example
Example 1: cypress run specific test
cypress run --spec 'path/to/files/*.spec.js'
Example 2: run cypress
./node_modules/.bin/cypress open
Example 3: find cypress running in ci or open mode
Cypress.config().isInteractive