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
|
tools: composer
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
if: ${{ inputs.build_frontend }}
|
if: ${{ inputs.build_frontend == 'true' }}
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ inputs.node_version }}
|
node-version: ${{ inputs.node_version }}
|
||||||
|
|
@ -99,7 +99,7 @@ jobs:
|
||||||
run: composer install --prefer-dist --no-progress --no-dev --ignore-platform-reqs
|
run: composer install --prefer-dist --no-progress --no-dev --ignore-platform-reqs
|
||||||
|
|
||||||
- name: Install Node dependencies & build
|
- name: Install Node dependencies & build
|
||||||
if: ${{ inputs.build_frontend }}
|
if: ${{ inputs.build_frontend == 'true' }}
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
|
|
@ -186,7 +186,7 @@ jobs:
|
||||||
name: E2E Tests
|
name: E2E Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [switch-stage]
|
needs: [switch-stage]
|
||||||
if: ${{ inputs.run_e2e_tests }}
|
if: ${{ inputs.run_e2e_tests == 'true' }}
|
||||||
container:
|
container:
|
||||||
image: mcr.microsoft.com/playwright:v1.50.0-noble
|
image: mcr.microsoft.com/playwright:v1.50.0-noble
|
||||||
|
|
||||||
|
|
@ -234,7 +234,7 @@ jobs:
|
||||||
name: Deploy Production
|
name: Deploy Production
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [test-stage]
|
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:
|
steps:
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue