Update .gitea/workflows/build.yml

This commit is contained in:
2026-04-07 12:16:18 +00:00
parent 1b7187bd09
commit 173c476f74

View File

@@ -23,7 +23,7 @@ jobs:
if: inputs.tech_stack == 'node' || inputs.tech_stack == 'react' || inputs.tech_stack == 'nestjs' if: inputs.tech_stack == 'node' || inputs.tech_stack == 'react' || inputs.tech_stack == 'nestjs'
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 20
- name: Build (Node / React / NestJS) - name: Build (Node / React / NestJS)
if: inputs.tech_stack == 'node' || inputs.tech_stack == 'react' || inputs.tech_stack == 'nestjs' if: inputs.tech_stack == 'node' || inputs.tech_stack == 'react' || inputs.tech_stack == 'nestjs'
@@ -33,6 +33,6 @@ jobs:
${{ inputs.build_command }} ${{ inputs.build_command }}
else else
npm install npm install
npm run build || true npm run build
fi fi