diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index b7001d3..5f932b7 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -34,11 +34,7 @@ jobs: env: CI: true - name: Build site - env: - NODE_ENV: production - NITRO_PRESET: node_cluster - NITRO_CLUSTER_WORKERS: 4 - run: npm run build + run: NODE_ENV=production NITRO_PRESET=node_cluster NITRO_CLUSTER_WORKERS=4 npm run build - name: Upload build artifacts uses: actions/upload-artifact@v3 with: