mirror of
				https://gitea.com/actions/setup-node.git
				synced 2025-10-29 15:52:42 +08:00 
			
		
		
		
	Update docs/adrs/0000-caching-dependencies.md
Co-authored-by: Alejandro Pauly <alepauly@github.com>
This commit is contained in:
		| @@ -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). | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user