Test
This commit is contained in:
parent
537a51ecbf
commit
101a505f3c
1 changed files with 8 additions and 7 deletions
15
.github/workflows/sonar.yml
vendored
15
.github/workflows/sonar.yml
vendored
|
|
@ -36,8 +36,9 @@ jobs:
|
|||
- name: Build site
|
||||
env:
|
||||
NODE_ENV: production
|
||||
NITRO_PRESET: node_cluster
|
||||
NITRO_CLUSTER_WORKERS: 4
|
||||
NITRO_PRESET: static
|
||||
# NITRO_PRESET: node_cluster
|
||||
# NITRO_CLUSTER_WORKERS: 4
|
||||
run: npm run build
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
@ -59,11 +60,11 @@ jobs:
|
|||
- name: Prepare environment variables
|
||||
run: |
|
||||
echo REGISTRY=${{ env.FORGEJO_HOST }} >> $GITHUB_ENV
|
||||
- name: Setup Node environment
|
||||
run: |
|
||||
apk add --update nodejs npm
|
||||
node --version
|
||||
npm --version
|
||||
# - name: Setup Node environment
|
||||
# run: |
|
||||
# apk add --update nodejs npm
|
||||
# node --version
|
||||
# npm --version
|
||||
- name: Code checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue