Test full build
This commit is contained in:
parent
cf95737537
commit
dc38bb5d0a
1 changed files with 3 additions and 5 deletions
8
.github/workflows/sonar.yml
vendored
8
.github/workflows/sonar.yml
vendored
|
|
@ -36,9 +36,8 @@ jobs:
|
||||||
- name: Build site
|
- name: Build site
|
||||||
env:
|
env:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
NITRO_PRESET: static
|
NITRO_PRESET: node_cluster
|
||||||
# NITRO_PRESET: node_cluster
|
NITRO_CLUSTER_WORKERS: 4
|
||||||
# NITRO_CLUSTER_WORKERS: 4
|
|
||||||
run: npm run build
|
run: npm run build
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
@ -95,7 +94,6 @@ jobs:
|
||||||
- name: Build Docker image (pray)
|
- name: Build Docker image (pray)
|
||||||
run: |
|
run: |
|
||||||
docker build -f ./devops/Dockerfile -t ${{ env.CONTAINER_NAME }}:latest .
|
docker build -f ./devops/Dockerfile -t ${{ env.CONTAINER_NAME }}:latest .
|
||||||
- name: List Docker images (for verification)
|
docker images
|
||||||
run: docker images
|
|
||||||
|
|
||||||
####
|
####
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue