Added env variables.
This commit is contained in:
parent
fd830ee536
commit
f6fbc3882e
1 changed files with 5 additions and 1 deletions
6
.github/workflows/sonar.yml
vendored
6
.github/workflows/sonar.yml
vendored
|
|
@ -35,7 +35,11 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
- name: Build site
|
- name: Build site
|
||||||
run: NODE_ENV=production NITRO_PRESET=node_cluster NITRO_CLUSTER_WORKERS=4 npm run build
|
env:
|
||||||
|
NODE_ENV: production
|
||||||
|
NITRO_PRESET: node_cluster
|
||||||
|
NITRO_CLUSTER_WORKERS: 4
|
||||||
|
run: npm run build
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue