mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 10:14:02 +00:00 
			
		
		
		
	Add pnpm example
This commit is contained in:
		
							parent
							
								
									3a696372f2
								
							
						
					
					
						commit
						6af11308f3
					
				
							
								
								
									
										11
									
								
								examples.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								examples.md
									
									
									
									
									
								
							@ -240,6 +240,17 @@ The yarn cache directory will depend on your operating system and version of `ya
 | 
				
			|||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Node - Pnpm
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```yaml
 | 
				
			||||||
 | 
					  - name: Cache .pnpm-store
 | 
				
			||||||
 | 
					    uses: actions/cache@v2
 | 
				
			||||||
 | 
					    with:
 | 
				
			||||||
 | 
					      path: ~/.pnpm-store
 | 
				
			||||||
 | 
					      key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}```
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Node - Yarn 2
 | 
					## Node - Yarn 2
 | 
				
			||||||
The yarn 2 cache directory will depend on your config. See https://yarnpkg.com/configuration/yarnrc#cacheFolder for more info.
 | 
					The yarn 2 cache directory will depend on your config. See https://yarnpkg.com/configuration/yarnrc#cacheFolder for more info.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user