Update .github/workflows/sonar.yml
All checks were successful
Sonar / SonarQube (push) Successful in 1m24s
Sonar / Docker stuff (push) Successful in 1s

This commit is contained in:
Liviu Burcusel 2025-12-08 14:47:22 +01:00
parent 55f177b571
commit b80eb9634e

View file

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