mirror of
https://github.com/actions/setup-node
synced 2024-12-22 21:22:42 +00:00
Update docs/adrs/0000-caching-dependencies.md
Co-authored-by: Alejandro Pauly <alepauly@github.com>
This commit is contained in:
parent
ae26aaf1b5
commit
1bf30534fd
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ Integration of caching functionality into `actions/setup-node` action will bring
|
||||||
|
|
||||||
As the first stage, we will add support for NPM dependencies caching. We can consider adding the same functionality for Yarn later.
|
As the first stage, we will add support for NPM dependencies caching. We can consider adding the same functionality for Yarn later.
|
||||||
|
|
||||||
We don't persue 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 use `actions/cache` directly.
|
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 use `actions/cache` directly.
|
||||||
|
|
||||||
# Decision
|
# Decision
|
||||||
- Add `cache` input parameter to `actions/setup-node`. For now, input will accept the following values:
|
- Add `cache` input parameter to `actions/setup-node`. For now, input will accept the following values:
|
||||||
|
@ -56,4 +56,4 @@ steps:
|
||||||
# Release process
|
# Release process
|
||||||
|
|
||||||
As soon as functionality is implemented, we will release minor update of action. No need to bump major version since there are no breaking changes for existing users.
|
As soon as functionality is implemented, we will release minor update of action. No need to bump major version since there are no breaking changes for existing users.
|
||||||
After that, we will update [starter-workflows](https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml) and [GitHub Action documentation](https://docs.github.com/en/actions/guides/building-and-testing-nodejs#example-caching-dependencies).
|
After that, we will update [starter-workflows](https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml) and [GitHub Action documentation](https://docs.github.com/en/actions/guides/building-and-testing-nodejs#example-caching-dependencies).
|
||||||
|
|
Loading…
Reference in a new issue