mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 01:23:34 +00:00 
			
		
		
		
	Update README.md
processed review comments
This commit is contained in:
		
							parent
							
								
									98e59139b7
								
							
						
					
					
						commit
						b61b963282
					
				@ -35,17 +35,15 @@ For information regarding locally cached versions of Node.js on GitHub hosted ru
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### Supported version syntax
 | 
					### Supported version syntax
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The `node-version` input supports the [Semantic Versioning Specification](https://github.com/npm/node-semver), for example:
 | 
					The `node-version` input supports the Semantic Versioning Specification, for more detailed examples please refer to the [documentation](https://github.com/npm/node-semver).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Examples:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 - Major versions: `12`, `14`, `16`
 | 
					 - Major versions: `12`, `14`, `16`
 | 
				
			||||||
 - More specific versions: `10.15`, `14.2.0`, `16.3.0`
 | 
					 - More specific versions: `10.15`, `14.2.0`, `16.3.0`
 | 
				
			||||||
 
 | 
					 | 
				
			||||||
And also these other syntaxes: 
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 - NVM LTS syntax: `lts/erbium`, `lts/fermium`, `lts/*`, `lts/-n`
 | 
					 - NVM LTS syntax: `lts/erbium`, `lts/fermium`, `lts/*`, `lts/-n`
 | 
				
			||||||
 - Latest release: `*` or `latest`/`current`/`node`
 | 
					 - Latest release: `*` or `latest`/`current`/`node`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
**Note:** Like the other values, `*` will get the latest [locally-cached Node.js version](https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md#nodejs), or the latest version from [actions/node-versions](https://github.com/actions/node-versions/blob/main/versions-manifest.json), depending on the [`check-latest`](docs/advanced-usage.md#check-latest-version) input.
 | 
					**Note:** Like the other values, `*` will get the latest [locally-cached Node.js version](https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md#nodejs), or the latest version from [actions/node-versions](https://github.com/actions/node-versions/blob/main/versions-manifest.json), depending on the [`check-latest`](docs/advanced-usage.md#check-latest-version) input.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
`current`/`latest`/`node` always resolve to the latest [dist version](https://nodejs.org/dist/index.json).
 | 
					`current`/`latest`/`node` always resolve to the latest [dist version](https://nodejs.org/dist/index.json).
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user