[wp-trac] [WordPress Trac] #49594: Consider using the "install-changed" package
WordPress Trac
noreply at wordpress.org
Thu Oct 29 01:20:56 UTC 2020
#49594: Consider using the "install-changed" package
------------------------------+---------------------
Reporter: azaozz | Owner: azaozz
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.5
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
------------------------------+---------------------
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/49594#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list