mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 13:29:10 +08:00 
			
		
		
		
	It is not recommended to cache node_modules (#537)
According to the docs of this repo, so the example should not show it
This commit is contained in:
		@@ -19,7 +19,6 @@ See ["Caching dependencies to speed up workflows"](https://help.github.com/githu
 | 
				
			|||||||
    path: |
 | 
					    path: |
 | 
				
			||||||
      ~/cache
 | 
					      ~/cache
 | 
				
			||||||
      !~/cache/exclude
 | 
					      !~/cache/exclude
 | 
				
			||||||
      **/node_modules
 | 
					 | 
				
			||||||
    key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
 | 
					    key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user