Skip to content

Commit

Permalink
fix: fixed junit tests issue on prs
Browse files Browse the repository at this point in the history
  • Loading branch information
helloanoop committed Feb 8, 2024
1 parent 659e22c commit 966718c
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ on:
branches: [main]
pull_request:
branches: [main]

# Assign permissions for unit tests to be reported.
# See https://github.com/dorny/test-reporter/issues/168
permissions:
statuses: write
checks: write
contents: write
pull-requests: write
actions: write

jobs:
unit-test:
name: Unit Tests
Expand Down Expand Up @@ -44,14 +54,6 @@ jobs:
cli-test:
name: CLI Tests
runs-on: ubuntu-latest
# Assign permissions for unit tests to be reported.
# See https://github.com/dorny/test-reporter/issues/168
permissions:
statuses: write
checks: write
contents: write
pull-requests: write
actions: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
Expand Down

0 comments on commit 966718c

Please sign in to comment.