mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 01:33:33 +00:00 
			
		
		
		
	advanced.md changes
This commit is contained in:
		
							parent
							
								
									36c80a7556
								
							
						
					
					
						commit
						7ff10b129d
					
				@ -20,11 +20,10 @@ steps:
 | 
				
			|||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Node version file
 | 
					## Node version file
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
The action will search for the node version file relative to repository root.  
 | 
					 | 
				
			||||||
The `node-version-file` input contains the version of node used by project, for example `.nvmrc`. If both the `node-version` and the `node-version-file` inputs are provided the `node-version` input is used. 
 | 
					The `node-version-file` input contains the version of node used by project, for example `.nvmrc`. If both the `node-version` and the `node-version-file` inputs are provided the `node-version` input is used. 
 | 
				
			||||||
You can check [supported version syntax](https://github.com/actions/setup-node#supported-version-syntax)  
 | 
					You can check [supported version syntax](https://github.com/actions/setup-node#supported-version-syntax)  
 | 
				
			||||||
> The node version file is read from the project root
 | 
					> The action will search for the node version file relative to repository root.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```yaml
 | 
					```yaml
 | 
				
			||||||
steps:
 | 
					steps:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user