I've setup a CI-style with github actions to revie...
# e2e-testing
w
I've setup a CI-style with github actions to review code in terms of formatting and eslint rules, however, whenever I run it I get the following error:
Copy code
npm notice Run `npm install -g npm@8.15.0` to update!
npm notice 
npm ERR! code 1
npm ERR! path /app/node_modules/cypress
npm ERR! command failed
npm ERR! command sh -c node index.js --exec install
npm ERR! Cypress cannot write to the cache directory due to file permissions
npm ERR! 
npm ERR! See discussion and possible solutions at
npm ERR! https://github.com/cypress-io/cypress/issues/1281
npm ERR! 
npm ERR! ----------
npm ERR! 
npm ERR! Failed to access /root/.cache/Cypress:
npm ERR! 
npm ERR! EACCES: permission denied, mkdir '/root/.cache/Cypress'
npm ERR! 
npm ERR! ----------
npm ERR! 
npm ERR! Platform: linux-x64 (Debian - 11.4)
npm ERR! Cypress Version: 9.1.1
and in my .yml file I got the following:
Copy code
- name: "npm ci"
        run: >
          docker run --rm -v ~/.npm-docker:/root/.npm -v $(pwd):/app -w /app repo/tag npm ci
any help would be very appreciated