mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 01:33:33 +00:00 
			
		
		
		
	diff explanation for advanced-usage.md
This commit is contained in:
		
							parent
							
								
									acc44a64bd
								
							
						
					
					
						commit
						f606613c78
					
				@ -21,7 +21,8 @@ steps:
 | 
			
		||||
 | 
			
		||||
## Node version file
 | 
			
		||||
 | 
			
		||||
The `node-version-file` input allows you to use a file within your repository which contains the version of node your project uses for example `.nvmrc`. If both the `node-version` and the `node-version-file` inputs are provided the `node-version` input is used.
 | 
			
		||||
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 is read from the project root
 | 
			
		||||
 | 
			
		||||
```yaml
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user