Make WordPress Core


Ignore:
Timestamp:
09/22/2023 01:55:14 PM (16 months ago)
Author:
desrosj
Message:

Build/Test Tools: Update the environment variable for skipping browser binaries.

This changes the environment variable used in GitHub Action workflows to skip downloading the browser binary that’s a peer dependency when it’s not needed.

In [56647], the version of puppeteer peer-dependency was bumped to >= 20.0.0. Starting in version 20.0.0, puppeteer switched to using Chrome for testing instead of Chromium. With this release, the PUPPETEER_SKIP_CHROMIUM_DOWNLOAD environment variable was removed in favor of the more generic PUPPETEER_SKIP_DOWNLOAD.

All workflows that do not need a browser binary now contain the correct PUPPETEER_SKIP_CHROMIUM_DOWNLOAD variable.

Follow up to [56647].

See #58863.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/coding-standards.yml

    r56538 r56659  
    144144    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    145145    env:
    146       PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }}
     146      PUPPETEER_SKIP_DOWNLOAD: ${{ true }}
    147147
    148148    steps:
Note: See TracChangeset for help on using the changeset viewer.