Skip to content

Commit

Permalink
Update coverage_report.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mareknovotny authored Aug 29, 2024
1 parent bf2cf7b commit fa5819f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/coverage_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ jobs:
name: Publish coverage report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup sonarqube
uses: warchant/setup-sonar-scanner@v3
uses: warchant/setup-sonar-scanner@v8
- name: coverage report
uses: actions/setup-node@v1
with:
# node 12 support is deprecated in sonar
node-version: 14
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run test:report
- run: sonar-scanner
Expand All @@ -32,4 +31,4 @@ jobs:
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
-Dsonar.exclusions=packages/action/test/**,packages/action/webpage/**
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fa5819f

Please sign in to comment.