Make WordPress Core


Ignore:
Timestamp:
09/23/2022 08:25:45 AM (2 years ago)
Author:
gziolo
Message:

Build: Improve how combined assets are generated

Allows to revert changes applied in [54277] - temporary workaround for the failing Test NPM CI check on Windows.

Improvements included:

  • generate combined asset files for both production and development
  • store in the repository only the production version of the combined assets for packages, we use everything else only in development
  • to make unit tests work, ensure that they ignore react fast refresh and use the production version of combined assets that are present in the source code

Props bernhard-reiter, jsnajdr, clorith, wildworks.
Fixes #56615.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/test-npm.yml

    r54277 r54289  
    5656    timeout-minutes: 20
    5757    if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
    58     continue-on-error: ${{ matrix.os == 'windows-latest' }}
    5958    strategy:
    6059      fail-fast: false
Note: See TracChangeset for help on using the changeset viewer.