[wp-trac] [WordPress Trac] #46632: Improve the npm dependency caching strategy on Travis CI

WordPress Trac noreply at wordpress.org
Mon Mar 25 00:40:20 UTC 2019


#46632: Improve the npm dependency caching strategy on Travis CI
------------------------------+-------------------------
 Reporter:  johnbillion       |      Owner:  johnbillion
     Type:  enhancement       |     Status:  assigned
 Priority:  normal            |  Milestone:  5.2
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-------------------------
 See [44989]. Caching `$HOME/.npm` instead of `node_modules` is preferable
 because the latter can cause issues if the cached modules were compiled
 using a newer version of node. This situation can occur when Travis falls
 back to the default branch cache.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46632>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list