fix typo3 build always without frontend
All checks were successful
Self Test / test (push) Successful in 13s

This commit is contained in:
Dominik Polakovics Polakovics 2026-02-03 14:32:57 +01:00
parent 051b997999
commit 4b7b0f9764

View file

@ -21,16 +21,6 @@ on:
required: false
type: string
default: '8.3'
node_version:
description: 'Node.js version'
required: false
type: string
default: '20'
build_frontend:
description: 'Run npm build'
required: false
type: boolean
default: false
artifact_name:
description: 'Name of the build artifact to upload'
required: false
@ -54,27 +44,13 @@ jobs:
php-version: ${{ inputs.php_version }}
tools: composer
- name: Setup Node.js
if: ${{ inputs.build_frontend }}
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node_version }}
- name: Install PHP dependencies
run: composer install --prefer-dist --no-progress --no-dev --ignore-platform-reqs
- name: Install Node dependencies & build
if: ${{ inputs.build_frontend }}
run: |
npm ci
npm run build
- name: Create artifact
run: |
tar -czf build.tar.gz \
bin public packages config vendor build composer.json composer.lock \
$([ -d "node_modules" ] && echo "node_modules") \
$([ -d "dist" ] && echo "dist") \
2>/dev/null || true
- name: Upload artifact