Skip to content

Commit

Permalink
refactor: moved SonarCloud scan to separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoBaroso committed May 25, 2024
1 parent 567f80b commit 6d13db1
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/fullstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Node.js
uses: actions/setup-node@v4
Expand Down Expand Up @@ -82,6 +80,19 @@ jobs:
name: api-e2e-coverage-report
path: ./coverage/api-e2e/lcov.info

sonarcloud:
name: SonarCloud Analysis
runs-on: ubuntu-latest
needs: tests
steps:

- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Download artifacts
uses: actions/download-artifact@v4

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
Expand Down

0 comments on commit 6d13db1

Please sign in to comment.