Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
xabg2 committed Feb 13, 2024
1 parent d0f5d0c commit d112709
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/sonar-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
branches: ['main']

permissions:
contents: read
pull-requests: read

jobs:
Expand All @@ -17,7 +16,7 @@ jobs:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

Expand All @@ -33,13 +32,13 @@ jobs:
- name: Test and coverage
uses: cypress-io/github-action@v6
with:
install: yarn
install: yarn install
build: yarn build
start: yarn start
browser: chrome

- name: SonarCloud Scan
- name: Analyze with SonarCloud
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit d112709

Please sign in to comment.