From 79b156344d7b431b6083b7c047403a205c82d12c Mon Sep 17 00:00:00 2001 From: Liviu Burcusel Date: Mon, 8 Dec 2025 12:05:09 +0100 Subject: [PATCH] Testing --- .github/workflows/sonar.yml | 61 +++++++++++++++++++++---------------- 1 file changed, 34 insertions(+), 27 deletions(-) diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 0f2cafb..d632d05 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -15,33 +15,40 @@ jobs: name: SonarQube runs-on: ubuntu-latest steps: - - name: Setup node environment - uses: actions/setup-node@v4 - with: - node-version: "24" - - name: Checkout code - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Install dependencies - run: npm ci - - name: Run tests and generate coverage - run: npm run coverage - # continue-on-error: true - env: - CI: true - - name: Build site - env: - NODE_ENV: production - NITRO_PRESET: node_cluster - run: npm run build - - name: Upload build artifacts - uses: actions/upload-artifact@v3 - with: - name: output - path: .output/ - overwrite: true - include-hidden-files: true + - name: Miscellaneous setup + run: | + echo "This is a placeholder for SonarQube analysis." + uname -a + id + lsb_release -a + + # - name: Setup node environment + # uses: actions/setup-node@v4 + # with: + # node-version: "24" + # - name: Checkout code + # uses: actions/checkout@v4 + # with: + # fetch-depth: 0 + # - name: Install dependencies + # run: npm ci + # - name: Run tests and generate coverage + # run: npm run coverage + # # continue-on-error: true + # env: + # CI: true + # - name: Build site + # env: + # NODE_ENV: production + # NITRO_PRESET: node_cluster + # run: npm run build + # - name: Upload build artifacts + # uses: actions/upload-artifact@v3 + # with: + # name: output + # path: .output/ + # overwrite: true + # include-hidden-files: true #- name: SonarQube Scan # uses: SonarSource/sonarqube-scan-action@v6 # env: