[wp-trac] [WordPress Trac] #50401: Tests: Move tests into Github Actions

WordPress Trac noreply at wordpress.org
Thu Oct 29 01:20:56 UTC 2020


#50401: Tests: Move tests into Github Actions
------------------------------+--------------------------
 Reporter:  whyisjake         |       Owner:  desrosj
     Type:  task (blessed)    |      Status:  assigned
 Priority:  normal            |   Milestone:  5.6
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  performance
------------------------------+--------------------------

Comment (by desrosj):

 In [changeset:"49369" 49369]:
 {{{
 #!CommitTicketReference repository="" revision="49369"
 Build/Test Tools: Use `install-changed` to install NPM dependencies in
 GitHub Action workflows.

 The `install-changed` package records a hash of the `package.json` file
 locally in a text file and only runs `npm install` when there are changes
 to account for.

 This builds on [47497], which only hashes the `package.json` file after a
 Grunt task is called. By using `npx install-changed` within the workflow
 files, the package is hashed before the first Grunt task is run.

 Props ocean90.
 See #50401, #49594.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50401#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list