Running Cypress in Gitlab CI

I ran into some difficulties a few weeks ago when attempting to run Cypress tests as part of my CI script in Gitlab. The application I was working with has a Golang backend and the front end is a static site built with Nuxt.
Source: Codementor