-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support cache of dependencies in setup-node. #271
Comments
Summarized tables.Express
Nest
Electron-react-boilerplate
Appcenter-cli
Summary
Notes:
|
Something that is rather common is deps placing things in the Examples.
mongodb-memory-server also uses the cache
so to speed things up it would be great to be able to pass these to the config. this is what my actions/cache@v2 looked like.
|
Thank you for your proposal @leon . |
…ions#271) Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.4.0 to 3.4.1. - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-plugin-prettier/commits) --- updated-dependencies: - dependency-name: eslint-plugin-prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Context
actions/setup-node
is the 2nd most popular action in GitHub Actions. A lot of customers use it in conjunction with actions/cache to speed up dependencies installation.See more examples on proper usage in actions/cache documentation.
Goals & Anti-Goals
Integration of caching functionality into
actions/setup-node
action will bring the following benefits for action users:We will add support for NPM and Yarn dependencies caching.
As the first stage, we won't support custom locations for
package-lock.json
,yarn.lock
files and action will work only when files are located in repository root.We don't pursue the goal to provide wide customization of caching in scope of
actions/setup-node
action. The purpose of this integration is covering ~90% of basic use-cases. If user needs flexible customization, we should advice them to useactions/cache
directly.The text was updated successfully, but these errors were encountered: