You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the guide and added this into my workflow yaml file:
test:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node
uses: actions/setup-node@v4
- name: Install dependencies
run: npm install
- name: Run tests
run: npx jest --coverage
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
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 ?
The text was updated successfully, but these errors were encountered:
I followed the guide and added this into my workflow yaml file:
test:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
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 ?
The text was updated successfully, but these errors were encountered: