Testing
Some checks failed
Sonar / SonarQube (push) Failing after 1s

This commit is contained in:
Liviu Burcusel 2025-12-08 12:05:09 +01:00
parent f240804481
commit 79b156344d
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C

View file

@ -15,33 +15,40 @@ jobs:
name: SonarQube name: SonarQube
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Setup node environment - name: Miscellaneous setup
uses: actions/setup-node@v4 run: |
with: echo "This is a placeholder for SonarQube analysis."
node-version: "24" uname -a
- name: Checkout code id
uses: actions/checkout@v4 lsb_release -a
with:
fetch-depth: 0 # - name: Setup node environment
- name: Install dependencies # uses: actions/setup-node@v4
run: npm ci # with:
- name: Run tests and generate coverage # node-version: "24"
run: npm run coverage # - name: Checkout code
# continue-on-error: true # uses: actions/checkout@v4
env: # with:
CI: true # fetch-depth: 0
- name: Build site # - name: Install dependencies
env: # run: npm ci
NODE_ENV: production # - name: Run tests and generate coverage
NITRO_PRESET: node_cluster # run: npm run coverage
run: npm run build # # continue-on-error: true
- name: Upload build artifacts # env:
uses: actions/upload-artifact@v3 # CI: true
with: # - name: Build site
name: output # env:
path: .output/ # NODE_ENV: production
overwrite: true # NITRO_PRESET: node_cluster
include-hidden-files: true # 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 #- name: SonarQube Scan
# uses: SonarSource/sonarqube-scan-action@v6 # uses: SonarSource/sonarqube-scan-action@v6
# env: # env: