codecov / feedback

A place to discuss feedback about the pull request and web product experience.
37 stars 7 forks source link

permission denied when running jest coverage in githubaction #510

Open Hiep1210 opened 2 months ago

Hiep1210 commented 2 months ago

I followed the guide and added this into my workflow yaml file: test: name: Run tests and collect coverage runs-on: ubuntu-latest steps:

The workflow failed and this was the log: Run npx jest --coverage sh: 1: jest: Permission denied Error: Process completed with exit code 126.

I reread the guide and did not find anything mentioned about permission, how can i grant permission to run coverage for jest ?

thomasrockhu-codecov commented 2 months ago

@Hiep1210 can you add a link to your CI run?