Skip to content

Commit

Permalink
Update github-actions.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmsa authored Dec 6, 2023
1 parent d02e0d6 commit ba8f83b
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/github-actions.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,26 +43,26 @@ jobs:
yarn build
# This workflow contains multiple jobs
Sonar_Cloud:
name: Sonarcloud
needs: Build_App
runs-on: ubuntu-latest
environment: Production
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: SonarQube Quality Gate check
uses: sonarsource/sonarqube-quality-gate-action@master
# Force to fail step after specific time
timeout-minutes: 5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# Sonar_Cloud:
# name: Sonarcloud
# needs: Build_App
# runs-on: ubuntu-latest
# environment: Production
# steps:
# - uses: actions/checkout@v2
# with:
# fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
# - name: SonarCloud Scan
# uses: SonarSource/sonarcloud-github-action@master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# - name: SonarQube Quality Gate check
# uses: sonarsource/sonarqube-quality-gate-action@master
# # Force to fail step after specific time
# timeout-minutes: 5
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

Vercel_Deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit ba8f83b

Please sign in to comment.