Update .gitea/workflows/build.yml
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user