diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9cc8c882..43ad6ddf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,7 +99,6 @@ jobs: sonarcloud: name: SonarCloud - needs: main runs-on: ubuntu-latest permissions: id-token: write @@ -114,16 +113,16 @@ jobs: uses: ./.github/actions/setup # Uses the cache generated in the distributed step (Needed for the sonar eslint reports). - name: Lint with reports - run: pnpm exec nx run-many --all --target=lint --configuration=report --parallel=2 --max-warnings=0 + run: pnpm exec nx run-many --target=lint --configuration=report --parallel=2 --max-warnings=0 # Uses the cache generated in the distributed step (Needed for the sonar jest coverage reports). - name: Tests with coverage - run: pnpm exec nx run-many --all --target=test --configuration=coverage --parallel=1 --max-workers=2 + run: pnpm exec nx run-many --target=test --configuration=ci --parallel=1 --max-workers=2 - name: Configure Sonar report paths run: pnpm run configure-sonar-report-paths - name: SonarCloud Scan - uses: sonarsource/sonarcloud-github-action@v2.1.1 + uses: sonarsource/sonarcloud-github-action@v3.1.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/packages/examples/lumberjack-app/project.json b/packages/examples/lumberjack-app/project.json index 16c8ee64..b1af8263 100644 --- a/packages/examples/lumberjack-app/project.json +++ b/packages/examples/lumberjack-app/project.json @@ -83,8 +83,7 @@ "ci": true, "coverage": true } - }, - "defaultConfiguration": "ci" + } }, "serve-static": { "executor": "@nx/web:file-server", @@ -102,8 +101,7 @@ "format": "json", "output-file": "../../../reports/packages/examples/lumberjack-app/lint/report.json" } - }, - "defaultConfiguration": "report" + } } } } diff --git a/packages/internal/console-driver/test-util/project.json b/packages/internal/console-driver/test-util/project.json index 7182b697..a4023a45 100644 --- a/packages/internal/console-driver/test-util/project.json +++ b/packages/internal/console-driver/test-util/project.json @@ -16,8 +16,7 @@ "ci": true, "coverage": true } - }, - "defaultConfiguration": "ci" + } }, "lint": { "outputs": ["{workspaceRoot}/reports/packages/internal/console-driver/test-util/lint/report.json"], @@ -26,8 +25,7 @@ "format": "json", "output-file": "../../../../reports/packages/internal/console-driver/test-util/lint/report.json" } - }, - "defaultConfiguration": "report" + } } } } diff --git a/packages/internal/test-util/project.json b/packages/internal/test-util/project.json index 16440353..b6915e70 100644 --- a/packages/internal/test-util/project.json +++ b/packages/internal/test-util/project.json @@ -16,8 +16,7 @@ "ci": true, "coverage": true } - }, - "defaultConfiguration": "ci" + } }, "lint": { "outputs": ["{workspaceRoot}/reports/packages/internal/test-util/lint/report.json"], @@ -26,8 +25,7 @@ "format": "json", "output-file": "../../../reports/packages/internal/test-util/lint/report.json" } - }, - "defaultConfiguration": "report" + } } } } diff --git a/packages/ngworker/lumberjack/project.json b/packages/ngworker/lumberjack/project.json index a2e6f43f..9cfcf9f1 100644 --- a/packages/ngworker/lumberjack/project.json +++ b/packages/ngworker/lumberjack/project.json @@ -63,8 +63,7 @@ "ci": true, "coverage": true } - }, - "defaultConfiguration": "ci" + } }, "lint": { "outputs": ["{workspaceRoot}/reports/packages/ngworker/lumberjack/lint/report.json"], @@ -73,8 +72,7 @@ "format": "json", "output-file": "../../../reports/packages/ngworker/lumberjack/lint/report.json" } - }, - "defaultConfiguration": "report" + } }, "version": { "dependsOn": ["build"],