Skip to content

Commit

Permalink
Remove SonarCloud from build
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierZal committed Apr 29, 2024
1 parent 5b7f506 commit e1b577c
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,32 +76,9 @@ jobs:
- name: Build app # Compile TypeScript
run: npm run build

sonarcloud:
name: SonarCloud
needs: npm-scripts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Cache node_modules
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules-
save-always: true
- name: Install dependencies
run: npm ci
- name: Scan code
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

dependabot:
name: Dependabot
needs: [homey, sonarcloud]
needs: homey
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
Expand Down

0 comments on commit e1b577c

Please sign in to comment.