mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 12:03:34 +00:00 
			
		
		
		
	Update README.md
This commit is contained in:
		
							parent
							
								
									6a8b79956a
								
							
						
					
					
						commit
						b7f47cdd38
					
				
							
								
								
									
										15
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								README.md
									
									
									
									
									
								
							@ -16,17 +16,18 @@ This is a fork of the official GitHub [actions/setup-node](https://github.com/ma
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
It checks the following places:
 | 
					It checks the following places:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
1. `.nvmrc`
 | 
					1. `.n-node-version`
 | 
				
			||||||
2. `engines.node` in `package.json`
 | 
					2. `.naverc`
 | 
				
			||||||
3. `.node-version`
 | 
					3. `.node-version`
 | 
				
			||||||
4. `.n-node-version`
 | 
					4. `.nodeenvrc`
 | 
				
			||||||
5. `.naverc`
 | 
					5. `.nvmrc` (accurately [parsing nvm versions](https://github.com/ehmicky/node-version-alias))
 | 
				
			||||||
6. `.nodeenvrc`
 | 
					6. `package.json#engines.node`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
and finally the following environment variables:
 | 
					and finally the following environment variables:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
7. `NODE_VERSION`
 | 
					7. `NODIST_NODE_VERSION`
 | 
				
			||||||
8. `NODIST_NODE_VERSION`
 | 
					8. `NODE_VERSION`
 | 
				
			||||||
 | 
					9. `DEFAULT_NODE_VERSION`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
> Behind the scenes, it uses [@ehmicky](https://github.com/ehmicky)'s [`preferred-node-version`](https://www.npmjs.com/package/) 😍.
 | 
					> Behind the scenes, it uses [@ehmicky](https://github.com/ehmicky)'s [`preferred-node-version`](https://www.npmjs.com/package/) 😍.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user