Skip to content

Commit

Permalink
Changing threshold and adding rights for writing
Browse files Browse the repository at this point in the history
  • Loading branch information
amankumarrr committed Feb 20, 2024
1 parent 2e63fee commit dbe4271
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
branches:
- main

permissions:
checks: write
pull-requests: write
contents: write

jobs:
coverage:
runs-on: ubuntu-latest
Expand All @@ -15,4 +20,4 @@ jobs:
package-manager: pnpm
test-script: pnpm test
working-directory: /
skip-step: all
coverage-file: coverage/coverage-final.json
1 change: 1 addition & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ const config: Config = {
coverageThreshold: {
global: {
lines: 80,
branches: 1,
},
},

Expand Down

0 comments on commit dbe4271

Please sign in to comment.