This commit is contained in:
parent
dcb0e3cc20
commit
1d9fc7676d
1 changed files with 4 additions and 4 deletions
|
|
@ -90,7 +90,7 @@ jobs:
|
|||
tools: composer
|
||||
|
||||
- name: Setup Node.js
|
||||
if: ${{ inputs.build_frontend }}
|
||||
if: ${{ inputs.build_frontend == 'true' }}
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ inputs.node_version }}
|
||||
|
|
@ -99,7 +99,7 @@ jobs:
|
|||
run: composer install --prefer-dist --no-progress --no-dev --ignore-platform-reqs
|
||||
|
||||
- name: Install Node dependencies & build
|
||||
if: ${{ inputs.build_frontend }}
|
||||
if: ${{ inputs.build_frontend == 'true' }}
|
||||
run: |
|
||||
npm ci
|
||||
npm run build
|
||||
|
|
@ -186,7 +186,7 @@ jobs:
|
|||
name: E2E Tests
|
||||
runs-on: ubuntu-latest
|
||||
needs: [switch-stage]
|
||||
if: ${{ inputs.run_e2e_tests }}
|
||||
if: ${{ inputs.run_e2e_tests == 'true' }}
|
||||
container:
|
||||
image: mcr.microsoft.com/playwright:v1.50.0-noble
|
||||
|
||||
|
|
@ -234,7 +234,7 @@ jobs:
|
|||
name: Deploy Production
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test-stage]
|
||||
if: ${{ inputs.deploy_production && (needs.test-stage.result == 'success' || needs.test-stage.result == 'skipped') }}
|
||||
if: ${{ inputs.deploy_production == 'true' && (needs.test-stage.result == 'success' || needs.test-stage.result == 'skipped') }}
|
||||
|
||||
steps:
|
||||
- name: Setup PHP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue