Skip to content

Commit

Permalink
chore: remove SonarCloud checks from CI (#2215)
Browse files Browse the repository at this point in the history
  • Loading branch information
khushal87 committed Aug 25, 2023
1 parent cad02e6 commit 7f8b9f7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 23 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,5 @@ jobs:
run: yarn lerna-workspaces run lint && cd docusaurus && npx prettier --check '**/*.mdx'
- name: Test
run: yarn test:coverage
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
with:
args: >
-Dsonar.organization=getstream
-Dsonar.projectKey=GetStream_stream-chat-react-native
-Dsonar.javascript.lcov.reportPaths=./package/coverage/lcov.info
-Dsonar.sources=package/src/
-Dsonar.test.exclusions=**/__tests__/**
-Dsonar.verbose=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
11 changes: 0 additions & 11 deletions .github/workflows/next-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,8 @@ jobs:
run: yarn lerna-workspaces run lint && (cd docusaurus; npx prettier --check '**/*.mdx')
- name: Test
run: yarn test:coverage
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
with:
args: >
-Dsonar.organization=getstream
-Dsonar.projectKey=GetStream_stream-chat-react-native
-Dsonar.javascript.lcov.reportPaths=./package/coverage/lcov.info
-Dsonar.sources=package/src/
-Dsonar.test.exclusions=**/__tests__/**
-Dsonar.verbose=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Publish Next Release
run: GITHUB_SHORT_SHA="$(git rev-parse --short $GITHUB_SHA)" yarn release-next
env:
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

[![NPM](https://img.shields.io/npm/v/stream-chat-react-native.svg)](https://www.npmjs.com/package/stream-chat-react-native)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=GetStream_stream-chat-react-native&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=GetStream_stream-chat-react-native)
[![Build Status](https://github.com/GetStream/stream-chat-react-native/workflows/build/badge.svg)](https://github.com/GetStream/stream-chat-react-native/actions)
[![Component Reference](https://img.shields.io/badge/docs-component%20reference-blue.svg)](https://getstream.io/chat/docs/sdk/reactnative)

Expand Down

0 comments on commit 7f8b9f7

Please sign in to comment.