Make WordPress Core


Ignore:
Timestamp:
03/04/2024 11:23:59 AM (11 months ago)
Author:
desrosj
Message:

Build/Test Tools: Fix the precommit:emoji script.

GitHub recently sunset support for Subversion, causing the precommit:emoji Grunt script to break. Since there’s no direct replacement for svn ls in Git, this has been replaced with a query through the GitHub CLI.

This also adds a step in the workflow that tests the build process to run the precommit:emoji script to ensure no changes to built files are missed when updating the Twemoji library in the future.

Follow up to [57626].

Props kraftbj, peterwilsoncc, swissspidy.
Fixes #60520. See #57600.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/callable-test-core-build-process.yml

    r57655 r57758  
    6363        run: npm ci
    6464
     65      - name: Run Emoji precommit task
     66        run: npm run grunt precommit:emoji
     67        env:
     68          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
     69
    6570      - name: Build WordPress to run from ${{ inputs.directory }}
    6671        run: npm run build${{ inputs.directory == 'src' && ':dev' || '' }}
Note: See TracChangeset for help on using the changeset viewer.