From 01c9bbbf9b34eabaa5a54f93229a7cc3297243e6 Mon Sep 17 00:00:00 2001 From: giovannabbottino Date: Thu, 25 Aug 2022 22:03:07 -0300 Subject: [PATCH] #128 atualiza CI --- .github/workflows/CI.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b9f0f898..84ba2c89 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,16 +19,16 @@ jobs: - name: Run npm install run: npm install - - name: Run lint - run: npm run lint - - # - name: SonarCloud Scan - # uses: sonarsource/sonarcloud-github-action@master - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - - - - # run Jest - # run SonarCloud \ No newline at end of file + - name: Run Test + run: npm test + + - name: SonarCloud Scan + uses: sonarsource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + - name: Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: "./puma/coverage/lcov.info"