Make WordPress Core

Changeset 60005


Ignore:
Timestamp:
03/17/2025 04:03:43 PM (12 months ago)
Author:
desrosj
Message:

Build/Test Tools: Add input for skipping Playwright steps.

In older branches utilizing Puppeteer instead of Playwright, installing Playwright browsers is unnecessary and resulting in workflow failures.

This introduces a new install-playwright input that allows older branches to indicate that Playwright related steps should be skipped.

See #63117.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/reusable-end-to-end-tests.yml

    r59720 r60005  
    2929        required: false
    3030        type: 'string'
     31      install-playwright:
     32        description: 'Whether to install Playwright browsers.'
     33        required: false
     34        type: 'boolean'
     35        default: true
    3136
    3237env:
     
    95100
    96101      - name: Install Playwright browsers
     102        if: ${{ inputs.install-playwright }}
    97103        run: npx playwright install --with-deps
    98104
Note: See TracChangeset for help on using the changeset viewer.