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
|
- name: Build site
|
||||||
env:
|
env:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
NITRO_PRESET: node_cluster
|
NITRO_PRESET: static
|
||||||
NITRO_CLUSTER_WORKERS: 4
|
# NITRO_PRESET: node_cluster
|
||||||
|
# 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
|
||||||
|
|
@ -59,11 +60,11 @@ jobs:
|
||||||
- name: Prepare environment variables
|
- name: Prepare environment variables
|
||||||
run: |
|
run: |
|
||||||
echo REGISTRY=${{ env.FORGEJO_HOST }} >> $GITHUB_ENV
|
echo REGISTRY=${{ env.FORGEJO_HOST }} >> $GITHUB_ENV
|
||||||
- name: Setup Node environment
|
# - name: Setup Node environment
|
||||||
run: |
|
# run: |
|
||||||
apk add --update nodejs npm
|
# apk add --update nodejs npm
|
||||||
node --version
|
# node --version
|
||||||
npm --version
|
# npm --version
|
||||||
- name: Code checkout
|
- name: Code checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue