[wp-trac] [WordPress Trac] #52658: Expand the "Verify NPM" workflow

WordPress Trac noreply at wordpress.org
Wed Mar 3 19:50:54 UTC 2021

#52658: Expand the "Verify NPM" workflow
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.8
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
Changes (by desrosj):

 * status:  assigned => closed
 * resolution:   => fixed


 In [changeset:"50485" 50485]:
 #!CommitTicketReference repository="" revision="50485"
 Build/Test Tools: Generalize the NPM test workflow.

 The NPM test GitHub Actions workflow is currently used to verify that `npm
 install` and `npm run build` will complete successfully on Windows.

 This generalizes the workflow and adds testing for Linux and MacOS to
 confirm that the scripts used to build WordPress also complete
 successfully in those environments.

 Because MacOS workflow runs consume GHA minutes at a 10x rate, it’s added
 in a separate job in order to perform a more strict check.

 This also adds steps to verify that using `npm run build:dev` and `npm run
 grunt clean`/`npm run grunt clean —dev` run successfully

 Props johnbillion.
 Fixes #52658.

Ticket URL: <https://core.trac.wordpress.org/ticket/52658#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list