Node.JS v20.19.0 breaks `import '@cypress/code-coverage/task'` in the
`cypress.config.ts` for some reason (this is probably due to the new
`experimental-require-module` feature that is enabled by default in
Node.JS v20.19.0).
As a work-around, we can change this to
`@cypress/code-coverage/task.js`.
See: https://github.com/cypress-io/code-coverage/pull/940
See: https://nodejs.org/en/blog/release/v20.19.0
We have added a check in e2e, to ensure events in forks will not trigger the visual tests.
This will not protect against malicious users, but there is no other way to support PRs from forks.
A proposal has been sent to Argos team to add a secure approach for public repos, fingers crossed.