mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 01:03:33 +00:00 
			
		
		
		
	Update docs/advanced-usage.md
Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									6ef0f8d72d
								
							
						
					
					
						commit
						cc6b809bd0
					
				@ -21,7 +21,7 @@ steps:
 | 
			
		||||
 | 
			
		||||
## Node version file
 | 
			
		||||
  
 | 
			
		||||
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 accepts path to file containing the version of Node.js 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)  
 | 
			
		||||
> The action will search for the node version file relative to repository root.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user